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)
Wed, Sep 16, 6:37 PM
Unknown Object (File)
Wed, Sep 16, 6:18 PM
Unknown Object (File)
Wed, Sep 16, 6:17 PM
Unknown Object (File)
Wed, Sep 16, 3:56 PM
Unknown Object (File)
Fri, Sep 4, 10:00 AM
Unknown Object (File)
Thu, Aug 27, 12:26 PM
Unknown Object (File)
Aug 13 2026, 12:09 PM
Unknown Object (File)
Aug 8 2026, 1:42 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