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)
Sun, Jul 19, 7:44 PM
Unknown Object (File)
Sat, Jul 18, 3:00 PM
Unknown Object (File)
Sat, Jul 18, 3:14 AM
Unknown Object (File)
Thu, Jul 2, 7:44 AM
Unknown Object (File)
Tue, Jun 30, 12:12 AM
Unknown Object (File)
Jun 19 2026, 4:34 PM
Unknown Object (File)
Jun 15 2026, 6:21 PM
Unknown Object (File)
May 12 2026, 10:30 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