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, Feb 8, 11:20 AM
Unknown Object (File)
Sat, Feb 7, 10:23 PM
Unknown Object (File)
Sat, Jan 31, 2:26 AM
Unknown Object (File)
Jan 15 2026, 12:23 AM
Unknown Object (File)
Jan 14 2026, 3:55 AM
Unknown Object (File)
Dec 19 2025, 11:10 AM
Unknown Object (File)
Dec 17 2025, 8:12 PM
Unknown Object (File)
Nov 22 2025, 8:46 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