Page MenuHomeFreeBSD

converters/pdf2djvu: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Oct 14 2019, 5:43 PM.

Details

Summary

When compiling with GCC, as used on GCC architectures, it errors with:
sys-uuid.cc:96:12: error: 'strlen' was not declared in this scope

assert(strlen(s) == 36U);
       ^~~~~~

sys-uuid.cc:96:12: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Oct 14 2019, 5:43 PM
This revision is now accepted and ready to land.Oct 14 2019, 5:53 PM
This revision was automatically updated to reflect the committed changes.