Gentoo Archives: gentoo-commits

From: Ian Whyman <thev00d00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/pidgin-sipe/, x11-plugins/pidgin-sipe/files/
Date: Fri, 18 Dec 2015 11:48:39
Message-Id: 1450439270.35c829b8b9a3d6a3f2a67568f65a320f7d6bc1f5.thev00d00@gentoo
1 commit: 35c829b8b9a3d6a3f2a67568f65a320f7d6bc1f5
2 Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 11:47:50 2015 +0000
4 Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 11:47:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c829b8
7
8 x11-plugins/pidgin-sipe: Fix configure check #567570
9
10 Package-Manager: portage-2.2.26
11
12 .../files/pidgin-sipe-1.20.1-fix-configure-srtp-check.patch | 12 ++++++++++++
13 x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild | 1 +
14 2 files changed, 13 insertions(+)
15
16 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
17 new file mode 100644
18 index 0000000..204d65c
19 --- /dev/null
20 +++ b/x11-plugins/pidgin-sipe/files/pidgin-sipe-1.20.1-fix-configure-srtp-check.patch
21 @@ -0,0 +1,12 @@
22 +Backport the change from the upstream mob branch for bug #567570
23 +--- configure.ac
24 ++++ configure.ac
25 +@@ -409,7 +409,7 @@
26 + [AC_MSG_WARN([cross compiling: not checking])])
27 + ])
28 +
29 +- AC_COMPILE_IFELSE(
30 ++ AC_LINK_IFELSE(
31 + [AC_LANG_PROGRAM([[
32 + #include <media.h>
33 + ]]
34
35 diff --git a/x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild b/x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild
36 index e145d21..66f25c5 100644
37 --- a/x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild
38 +++ b/x11-plugins/pidgin-sipe/pidgin-sipe-1.20.1.ebuild
39 @@ -45,6 +45,7 @@ DEPEND="dev-util/intltool
40 "
41
42 src_prepare() {
43 + epatch "${FILESDIR}/${P}-fix-configure-srtp-check.patch"
44 eautoreconf
45 }