From: Peter Korsgaard Date: Fri, 24 Apr 2015 18:01:27 +0000 (+0200) Subject: qpdf: unbreak build on uClibc w/o threads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42cfac07e1e5732fccf676c8b7aeabe53dbd2ff7;p=buildroot.git qpdf: unbreak build on uClibc w/o threads Fixes: http://autobuild.buildroot.net/results/af8/af857caef0c622aa9cfb1859b344880971ff263c/ http://autobuild.buildroot.net/results/10e/10e90c7c93aec92f0e13de50ecc861d56750dc8c/ http://autobuild.buildroot.net/results/69c/69c4522852e0b634723aaacd57f192db7ad6aa58/ http://autobuild.buildroot.net/results/fc4/fc45fd1bd249f58a3d8907bfd410f5dfbb452751/ And many more. Signed-off-by: Peter Korsgaard --- diff --git a/package/qpdf/0001-QUtil.hh-time_t-needs-include-time.h.patch b/package/qpdf/0001-QUtil.hh-time_t-needs-include-time.h.patch new file mode 100644 index 0000000000..742c70cb2e --- /dev/null +++ b/package/qpdf/0001-QUtil.hh-time_t-needs-include-time.h.patch @@ -0,0 +1,29 @@ +From 88ac4baf0a55ef15f298592fa344d8ddae26fa33 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Fri, 24 Apr 2015 19:58:41 +0200 +Subject: [PATCH] QUtil.hh: time_t needs #include + +Fixes build on uClibc without threads: + +http://autobuild.buildroot.net/results/af8/af857caef0c622aa9cfb1859b344880971ff263c/build-end.log + +Signed-off-by: Peter Korsgaard +--- + include/qpdf/QUtil.hh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh +index 5c2e548..7f912e2 100644 +--- a/include/qpdf/QUtil.hh ++++ b/include/qpdf/QUtil.hh +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + class RandomDataProvider; + +-- +2.1.3 +