summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2018-04-22 21:19:16 +0300
committerMaxim Koltsov <maksbotan@gentoo.org>2018-04-22 21:21:00 +0300
commita093754f351397ff2794e337fd823fecd8b64144 (patch)
treef3341306d186632f455f05bf62d1f25f05f532c7 /net-misc
parentapp-emulation/diskimage-builder: 2.14.1 stable amd64 and x86 with cleanup (diff)
downloadgentoo-a093754f351397ff2794e337fd823fecd8b64144.tar.gz
gentoo-a093754f351397ff2794e337fd823fecd8b64144.tar.bz2
gentoo-a093754f351397ff2794e337fd823fecd8b64144.zip
net-misc/connman: fix compilation
Closes: https://bugs.gentoo.org/646464 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/connman/connman-1.35-r1.ebuild1
-rw-r--r--net-misc/connman/files/connman-1.35-include-ifbridge-before-netinet.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/connman/connman-1.35-r1.ebuild b/net-misc/connman/connman-1.35-r1.ebuild
index 6805bf58a4d0..67a8c779709e 100644
--- a/net-misc/connman/connman-1.35-r1.ebuild
+++ b/net-misc/connman/connman-1.35-r1.ebuild
@@ -40,6 +40,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-1.33-polkit-configure-check-fix.patch"
"${FILESDIR}/${PN}-1.33-resolv-conf-overwrite.patch"
+ "${FILESDIR}/${PN}-1.35-include-ifbridge-before-netinet.patch"
)
src_prepare() {
diff --git a/net-misc/connman/files/connman-1.35-include-ifbridge-before-netinet.patch b/net-misc/connman/files/connman-1.35-include-ifbridge-before-netinet.patch
new file mode 100644
index 000000000000..53f3c194db67
--- /dev/null
+++ b/net-misc/connman/files/connman-1.35-include-ifbridge-before-netinet.patch
@@ -0,0 +1,12 @@
+--- connman-1.35/src/tethering.c
++++ connman-1.35/src/tethering.c
+@@ -35,8 +35,8 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <linux/if_tun.h>
+-#include <netinet/in.h>
+ #include <linux/if_bridge.h>
++#include <netinet/in.h>
+
+ #include "connman.h"
+