From bc7e359cc926687d722ca83679ecd68ad794e259 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 16 Oct 2019 15:35:58 +0000 Subject: [PATCH] converters/pdf2djvu: fix build on GCC architectures 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 ''; did you forget to '#include '? PR: 238780 Approved by: samy.mahmoudi@gmail.com (maintainer timeout), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D22025 --- converters/pdf2djvu/files/patch-sys-uuid.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 converters/pdf2djvu/files/patch-sys-uuid.cc diff --git a/converters/pdf2djvu/files/patch-sys-uuid.cc b/converters/pdf2djvu/files/patch-sys-uuid.cc new file mode 100644 index 000000000000..49599f09f3f9 --- /dev/null +++ b/converters/pdf2djvu/files/patch-sys-uuid.cc @@ -0,0 +1,11 @@ +--- sys-uuid.cc.orig 2019-06-23 11:41:41 UTC ++++ sys-uuid.cc +@@ -17,6 +17,8 @@ + #include "autoconf.hh" + #include "system.hh" + ++#include ++ + #if WIN32 + + #include