From: Maxim Koltsov Date: Sun, 22 Apr 2018 18:19:16 +0000 (+0300) Subject: net-misc/connman: fix compilation X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a093754f351397ff2794e337fd823fecd8b64144;p=gentoo.git net-misc/connman: fix compilation Closes: https://bugs.gentoo.org/646464 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- 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 + #include + #include +-#include + #include ++#include + + #include "connman.h" +