From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/connman/files/
Date: Tue, 29 Mar 2016 13:29:11 +0000 (UTC) [thread overview]
Message-ID: <1459258140.aca92bb5062e3d4f796e8ffa263b5bb3600409c1.idella4@gentoo> (raw)
commit: aca92bb5062e3d4f796e8ffa263b5bb3600409c1
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 28 12:53:17 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 13:29:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca92bb5
net-misc/connman: Disable compatibility logic to kernels < 4.5
The compatiblity logic is only needed for kernel headers 4.5 or newer.
The older headers don't need this fix. Make sure the fix is not applied
for them.
Gentoo-bug: 578404
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1154
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
net-misc/connman/files/connman-1.31-xtables.patch | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net-misc/connman/files/connman-1.31-xtables.patch b/net-misc/connman/files/connman-1.31-xtables.patch
index 10bdecd..5fdb648 100644
--- a/net-misc/connman/files/connman-1.31-xtables.patch
+++ b/net-misc/connman/files/connman-1.31-xtables.patch
@@ -30,9 +30,14 @@
#define CHAIN_PREFIX "connman-"
--- /dev/null 2016-03-18 06:21:16.372989086 -0700
+++ connman-1.31/include/connman_xtables.h 2016-03-22 21:32:21.349504786 -0700
-@@ -0,0 +1,14 @@
+@@ -0,0 +1,20 @@
+#ifndef CONNMAN_XTABLES_H
+#define CONNMAN_XTABLES_H
++
++#include <linux/version.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
++#include <xtables.h>
++#else
+#ifdef __USE_MISC
+#define GENTOO_USE_MISC __USE_MISC
+#undef __USE_MISC
@@ -45,3 +50,4 @@
+#undef GENTOO_USE_MISC
+#endif
+#endif
++#endif
next reply other threads:[~2016-03-29 13:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 13:29 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-18 14:32 [gentoo-commits] repo/gentoo:master commit in: net-misc/connman/files/ Sam Jorna
2019-02-09 19:56 Aaron Bauman
2019-03-29 16:21 Ben Kohler
2019-11-08 16:03 Aaron Bauman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459258140.aca92bb5062e3d4f796e8ffa263b5bb3600409c1.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox