summaryrefslogtreecommitdiffstats
path: root/package/connman/0001-nat-build-failure.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-06-13 19:08:33 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-13 22:24:39 +0200
commit4f877e3cf3cd29da7ed40cfe4608c8167a3c06ce (patch)
tree20ef954b5a2653878e1bb810c08e7d13b017d7e6 /package/connman/0001-nat-build-failure.patch
parent78117a553b4734ab810e218d8e3355f12d6889ee (diff)
downloadbuildroot-4f877e3cf3cd29da7ed40cfe4608c8167a3c06ce.tar.gz
buildroot-4f877e3cf3cd29da7ed40cfe4608c8167a3c06ce.zip
package/connman: bump version to 1.36
Added licence hash, removed patch applied upstream https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=bdfb3526466f8fb8f13d9259037d8f42c782ce24 Renumbered remaining patch. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/connman/0001-nat-build-failure.patch')
-rw-r--r--package/connman/0001-nat-build-failure.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/connman/0001-nat-build-failure.patch b/package/connman/0001-nat-build-failure.patch
new file mode 100644
index 0000000000..0ab58501d0
--- /dev/null
+++ b/package/connman/0001-nat-build-failure.patch
@@ -0,0 +1,30 @@
+From 68f4b4f5b220f256b17ad2f084d61fe89f3632ae Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Tue, 19 Apr 2016 08:38:38 -0300
+Subject: [PATCH] nat: fix build failure
+
+_GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in
+system header files.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Status: submitted upstream
+
+ src/nat.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nat.c b/src/nat.c
+index 33ae6df..62e21d4 100644
+--- a/src/nat.c
++++ b/src/nat.c
+@@ -24,6 +24,7 @@
+ #include <config.h>
+ #endif
+
++#define _GNU_SOURCE
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--
+2.7.3
+
OpenPOWER on IntegriCloud