summaryrefslogtreecommitdiffstats
path: root/package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch
diff options
context:
space:
mode:
authorRyan Coe <bluemrp9@gmail.com>2014-12-09 08:04:13 -0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-09 19:04:24 +0100
commit19dd56dbaa67dca49e3a129186d7c43850858700 (patch)
tree06fdf5c02ed039c65d57bfaffd0297284a0aea17 /package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch
parent3a4b97bfb06ecabf2849aae0b308396dd8aac8ac (diff)
downloadbuildroot-19dd56dbaa67dca49e3a129186d7c43850858700.tar.gz
buildroot-19dd56dbaa67dca49e3a129186d7c43850858700.zip
iptables: rename patches to new convention
Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch')
-rw-r--r--package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch b/package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch
new file mode 100644
index 0000000000..1cdc6c0af2
--- /dev/null
+++ b/package/iptables/0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch
@@ -0,0 +1,47 @@
+From 2efdcf332a40431c6584970bb0c68712d14d409b Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 27 Nov 2013 10:18:11 -0300
+Subject: [PATCH] iptables/ip(6)tables-save.c: remove dlfcn.h include
+
+It's not required and breaks on static-only uClibc builds which don't
+have the header file.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ iptables/ip6tables-save.c | 4 ----
+ iptables/iptables-save.c | 4 ----
+ 2 files changed, 8 deletions(-)
+
+diff --git a/iptables/ip6tables-save.c b/iptables/ip6tables-save.c
+index d819b30..a86a64a 100644
+--- a/iptables/ip6tables-save.c
++++ b/iptables/ip6tables-save.c
+@@ -18,10 +18,6 @@
+ #include "ip6tables.h"
+ #include "ip6tables-multi.h"
+
+-#ifndef NO_SHARED_LIBS
+-#include <dlfcn.h>
+-#endif
+-
+ static int show_counters = 0;
+
+ static const struct option options[] = {
+diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
+index e599fce..2999c7f 100644
+--- a/iptables/iptables-save.c
++++ b/iptables/iptables-save.c
+@@ -17,10 +17,6 @@
+ #include "iptables.h"
+ #include "iptables-multi.h"
+
+-#ifndef NO_SHARED_LIBS
+-#include <dlfcn.h>
+-#endif
+-
+ static int show_counters = 0;
+
+ static const struct option options[] = {
+--
+1.8.3.2
+
OpenPOWER on IntegriCloud