summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Weber <matthew.weber@rockwellcollins.com>2017-10-02 10:31:07 -0500
committerPeter Korsgaard <peter@korsgaard.com>2017-10-03 14:28:32 +0200
commitcc7fd91c4b978ea3113464624ce051e0918b48f6 (patch)
tree1a2d5fd71f80c0fa560c301f849f5166e2debe2c
parentd77bc0dbba9381fe5d7c15e2d3881bd3febae090 (diff)
downloadbuildroot-cc7fd91c4b978ea3113464624ce051e0918b48f6.tar.gz
buildroot-cc7fd91c4b978ea3113464624ce051e0918b48f6.zip
strongswan: add missing include of stdint.h
Recent releases of glibc don't include the full stdint.h header in some network headers included by utils.h. Upstream is targetting a 5.6.1 release of the fix. Ustream: https://wiki.strongswan.org/issues/2425 Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/strongswan/0002-strongswan-add-missing-include-of-stdint.h.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/strongswan/0002-strongswan-add-missing-include-of-stdint.h.patch b/package/strongswan/0002-strongswan-add-missing-include-of-stdint.h.patch
new file mode 100644
index 0000000000..d5ca690b2d
--- /dev/null
+++ b/package/strongswan/0002-strongswan-add-missing-include-of-stdint.h.patch
@@ -0,0 +1,32 @@
+From a8fd708ce89d5ffb64a5e8873d49a55094dde898 Mon Sep 17 00:00:00 2001
+From: Matt Weber <matthew.weber@rockwellcollins.com>
+Date: Mon, 2 Oct 2017 10:16:36 -0500
+Subject: [PATCH] strongswan: add missing include of stdint.h
+
+Recent releases of glibc don't include the full stdint.h
+header in some network headers included by utils.h.
+Upstream is targetting a 5.6.1 release of the fix.
+
+Ustream: https://wiki.strongswan.org/issues/2425
+
+Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
+---
+ src/libstrongswan/utils/utils/memory.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/libstrongswan/utils/utils/memory.h b/src/libstrongswan/utils/utils/memory.h
+index aef318f..c11624d 100644
+--- a/src/libstrongswan/utils/utils/memory.h
++++ b/src/libstrongswan/utils/utils/memory.h
+@@ -14,6 +14,8 @@
+ * for more details.
+ */
+
++#include <stdint.h> /* for uintptr_t */
++
+ /**
+ * @defgroup memory_i memory
+ * @{ @ingroup utils_i
+--
+1.9.1
+
OpenPOWER on IntegriCloud