x11-plugins/pidgin-sipe: Fix configure check #567570
authorIan Whyman <thev00d00@gentoo.org>
Fri, 18 Dec 2015 11:47:50 +0000 (11:47 +0000)
committerIan Whyman <thev00d00@gentoo.org>
Fri, 18 Dec 2015 11:47:50 +0000 (11:47 +0000)
Package-Manager: portage-2.2.26

x11-plugins/pidgin-sipe/files/pidgin-sipe-1.20.1-fix-configure-srtp-check.patch [new file with mode: 0644]
x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild

diff --git a/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.20.1-fix-configure-srtp-check.patch b/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.20.1-fix-configure-srtp-check.patch
new file mode 100644 (file)
index 0000000..204d65c
--- /dev/null
@@ -0,0 +1,12 @@
+Backport the change from the upstream mob branch for bug #567570
+--- configure.ac
++++ configure.ac
+@@ -409,7 +409,7 @@
+                               [AC_MSG_WARN([cross compiling: not checking])])
+                        ])
+ 
+-               AC_COMPILE_IFELSE(
++               AC_LINK_IFELSE(
+                       [AC_LANG_PROGRAM([[
+ #include <media.h>
+                               ]]
index e145d21f65f25f697532201dfec99f755c785912..66f25c57dfe0ddeaf4697b930a8f249a165adbe5 100644 (file)
@@ -45,6 +45,7 @@ DEPEND="dev-util/intltool
 "
 
 src_prepare() {
+       epatch "${FILESDIR}/${P}-fix-configure-srtp-check.patch"
        eautoreconf
 }