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)
Sat, Nov 22, 8:46 PM
Unknown Object (File)
Wed, Nov 12, 11:10 AM
Unknown Object (File)
Nov 8 2025, 7:06 AM
Unknown Object (File)
Nov 5 2025, 9:25 PM
Unknown Object (File)
Nov 5 2025, 5:09 PM
Unknown Object (File)
Nov 5 2025, 5:08 PM
Unknown Object (File)
Nov 5 2025, 5:08 PM
Unknown Object (File)
Nov 5 2025, 2:56 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