aboutsummaryrefslogtreecommitdiff
path: root/converters/pdf2djvu
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-10-16 15:35:58 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-10-16 15:35:58 +0000
commitbc7e359cc926687d722ca83679ecd68ad794e259 (patch)
tree9ae75bbaac08997b2aa05d589db1d0c246afae2a /converters/pdf2djvu
parent13d4527a34237c3848445140a659128518ca196f (diff)
downloadports-bc7e359cc926687d722ca83679ecd68ad794e259.tar.gz
ports-bc7e359cc926687d722ca83679ecd68ad794e259.zip
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 '<cstring>'; did you forget to '#include <cstring>'? PR: 238780 Approved by: samy.mahmoudi@gmail.com (maintainer timeout), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D22025
Notes
Notes: svn path=/head/; revision=514602
Diffstat (limited to 'converters/pdf2djvu')
-rw-r--r--converters/pdf2djvu/files/patch-sys-uuid.cc11
1 files changed, 11 insertions, 0 deletions
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 <cstring>
++
+ #if WIN32
+
+ #include <cassert>