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)
Tue, Oct 14, 11:50 PM
Unknown Object (File)
Fri, Oct 3, 2:08 AM
Unknown Object (File)
Wed, Sep 17, 4:09 PM
Unknown Object (File)
Wed, Sep 17, 7:31 AM
Unknown Object (File)
Sep 15 2025, 1:16 PM
Unknown Object (File)
Sep 15 2025, 5:16 AM
Unknown Object (File)
Sep 9 2025, 4:29 PM
Unknown Object (File)
Sep 6 2025, 6:01 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