summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2012-04-20 10:32:50 +0000
committerTony Vroon <chainsaw@gentoo.org>2012-04-20 10:32:50 +0000
commit81fbe163465a8c94027b6a48a29042017b12cbda (patch)
tree2a1ba335245a400f9f0cba3d0850c1e69bb47208 /net-misc/connman/files
parentFix doc install (diff)
downloadgentoo-2-81fbe163465a8c94027b6a48a29042017b12cbda.tar.gz
gentoo-2-81fbe163465a8c94027b6a48a29042017b12cbda.tar.bz2
gentoo-2-81fbe163465a8c94027b6a48a29042017b12cbda.zip
Version bump to 0.79 and 0.80 as requested by Vadim Efimov & Alessandro Capogna in bug #407563.
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/connman/files')
-rw-r--r--net-misc/connman/files/connman-0.79-glib-include.patch13
-rw-r--r--net-misc/connman/files/fix-for-iptables-1.4.11.patch81
2 files changed, 13 insertions, 81 deletions
diff --git a/net-misc/connman/files/connman-0.79-glib-include.patch b/net-misc/connman/files/connman-0.79-glib-include.patch
new file mode 100644
index 000000000000..2814e008f5a0
--- /dev/null
+++ b/net-misc/connman/files/connman-0.79-glib-include.patch
@@ -0,0 +1,13 @@
+diff -uNr connman-0.79.ORIG/plugins/vpn.c connman-0.79/plugins/vpn.c
+--- connman-0.79.ORIG/plugins/vpn.c 2012-04-20 11:17:28.698899674 +0100
++++ connman-0.79/plugins/vpn.c 2012-04-20 11:19:37.368896124 +0100
+@@ -37,8 +37,7 @@
+
+ #include <dbus/dbus.h>
+
+-#include <glib/ghash.h>
+-#include <glib/gprintf.h>
++#include <glib.h>
+
+ #include <connman/provider.h>
+ #include <connman/log.h>
diff --git a/net-misc/connman/files/fix-for-iptables-1.4.11.patch b/net-misc/connman/files/fix-for-iptables-1.4.11.patch
deleted file mode 100644
index b63c93ba85a7..000000000000
--- a/net-misc/connman/files/fix-for-iptables-1.4.11.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 88c1dba4f9d28df97c996672f0267f6b2eb03f32 Mon Sep 17 00:00:00 2001
-From: Robert Piasek <dagger@gentoo.org>
-Date: Thu, 16 Jun 2011 12:42:25 +0100
-Subject: [PATCH] Fix compilation against iptables 1.4.11
-
----
- src/iptables.c | 16 ++++++++++++----
- tools/iptables-test.c | 16 ++++++++++++----
- 2 files changed, 24 insertions(+), 8 deletions(-)
-
-diff --git a/src/iptables.c b/src/iptables.c
-index c799c25..f70be45 100644
---- a/src/iptables.c
-+++ b/src/iptables.c
-@@ -1088,9 +1088,13 @@ static int iptables_command(int argc, char *argv[])
- if (xt_t->init != NULL)
- xt_t->init(xt_t->t);
- iptables_globals.opts =
-- xtables_merge_options(iptables_globals.opts,
-- xt_t->extra_opts,
-- &xt_t->option_offset);
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ iptables_globals.orig_opts,
-+#endif
-+ iptables_globals.opts,
-+ xt_t->extra_opts,
-+ &xt_t->option_offset);
- if (iptables_globals.opts == NULL)
- goto out;
-
-@@ -1112,7 +1116,11 @@ static int iptables_command(int argc, char *argv[])
- xt_m->init(xt_m->m);
- if (xt_m != xt_m->next) {
- iptables_globals.opts =
-- xtables_merge_options(iptables_globals.opts,
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ iptables_globals.orig_opts,
-+#endif
-+ iptables_globals.opts,
- xt_m->extra_opts,
- &xt_m->option_offset);
- if (iptables_globals.opts == NULL)
-diff --git a/tools/iptables-test.c b/tools/iptables-test.c
-index e316cc9..7c5f05e 100644
---- a/tools/iptables-test.c
-+++ b/tools/iptables-test.c
-@@ -1075,9 +1075,13 @@ int main(int argc, char *argv[])
- if (xt_t->init != NULL)
- xt_t->init(xt_t->t);
- connman_iptables_globals.opts =
-- xtables_merge_options(connman_iptables_globals.opts,
-- xt_t->extra_opts,
-- &xt_t->option_offset);
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ connman_iptables_globals.orig_opts,
-+#endif
-+ connman_iptables_globals.opts,
-+ xt_t->extra_opts,
-+ &xt_t->option_offset);
- if (connman_iptables_globals.opts == NULL)
- goto out;
-
-@@ -1101,7 +1105,11 @@ int main(int argc, char *argv[])
- xt_m->init(xt_m->m);
- if (xt_m != xt_m->next) {
- connman_iptables_globals.opts =
-- xtables_merge_options(connman_iptables_globals.opts,
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ connman_iptables_globals.orig_opts,
-+#endif
-+ connman_iptables_globals.opts,
- xt_m->extra_opts,
- &xt_m->option_offset);
- if (connman_iptables_globals.opts == NULL)
---
-1.7.5.3
-