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)
Dec 21 2023, 7:01 PM
Unknown Object (File)
Dec 20 2023, 12:00 AM
Unknown Object (File)
Oct 5 2023, 10:24 PM
Unknown Object (File)
Jun 3 2023, 8:04 AM
Unknown Object (File)
May 14 2023, 6:39 PM
Unknown Object (File)
May 8 2023, 4:22 AM
Unknown Object (File)
Mar 15 2023, 9:10 PM
Unknown Object (File)
Mar 15 2023, 9:09 PM
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