Page MenuHomeFreeBSD

converters/pdf2djvu: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Oct 14 2019, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 12:09 PM
Unknown Object (File)
Sat, Aug 8, 1:42 PM
Unknown Object (File)
Sat, Jul 25, 1:40 PM
Unknown Object (File)
Fri, Jul 24, 8:37 PM
Unknown Object (File)
Jul 19 2026, 7:44 PM
Unknown Object (File)
Jul 18 2026, 3:00 PM
Unknown Object (File)
Jul 18 2026, 3:14 AM
Unknown Object (File)
Jul 2 2026, 7:44 AM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable