diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-09-23 11:44:07 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-26 23:50:14 +0200 |
commit | ba8cce98d16327fabe90269b1eaf28d4de2bbd3a (patch) | |
tree | 5950902aaafe831579ffeade7dd67331cc734097 | |
parent | 46b8fb7500ecca65a79507318fd3052208559c09 (diff) | |
download | buildroot-ba8cce98d16327fabe90269b1eaf28d4de2bbd3a.tar.gz buildroot-ba8cce98d16327fabe90269b1eaf28d4de2bbd3a.zip |
package/poppler: include ctype.h to fix build error
Fixes
http://autobuild.buildroot.net/results/a6a/a6a336f8b6a0136b204a34091e33dc4598178125/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r-- | package/poppler/0001-Form.cc-include-ctype.h-to-fix-build-error.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/poppler/0001-Form.cc-include-ctype.h-to-fix-build-error.patch b/package/poppler/0001-Form.cc-include-ctype.h-to-fix-build-error.patch new file mode 100644 index 0000000000..8d210dab99 --- /dev/null +++ b/package/poppler/0001-Form.cc-include-ctype.h-to-fix-build-error.patch @@ -0,0 +1,37 @@ +From f40143f7acca81b7d39d774ed4c349aec8d9310b Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <bernd.kuhls@t-online.de> +Date: Sat, 23 Sep 2017 11:37:23 +0200 +Subject: [PATCH] Form.cc: include ctype.h to fix build error + +Fixes +Form.cc:546:28: error: 'isdigit' was not declared in this scope +Form.cc:548:34: error: 'isxdigit' was not declared in this scope +Form.cc:575:40: error: 'isxdigit' was not declared in this scope + +detected by buildroot autobuilders: +http://autobuild.buildroot.net/results/a6a/a6a336f8b6a0136b204a34091e33dc4598178125/ +when cross-compiling with +gcc version 4.7.3 (crosstool-NG hg+-c65fcf8a34b7) + +Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=102951 + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> +--- + poppler/Form.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/poppler/Form.cc b/poppler/Form.cc +index 83bceb20..e7efae95 100644 +--- a/poppler/Form.cc ++++ b/poppler/Form.cc +@@ -32,6 +32,7 @@ + #include <stddef.h> + #include <stdlib.h> + #include <string.h> ++#include <ctype.h> + #include "goo/gmem.h" + #include "goo/GooString.h" + #include "Error.h" +-- +2.11.0 + |