Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/files/, media-libs/libffado/
Date: Sat, 09 Dec 2017 09:46:21
Message-Id: 1512812763.6dd1c348da56ab8a1601477b9b844488833327aa.kensington@gentoo
1 commit: 6dd1c348da56ab8a1601477b9b844488833327aa
2 Author: Hector Martin <marcan <AT> marcan <DOT> st>
3 AuthorDate: Fri Dec 8 21:25:10 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 09:46:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd1c348
7
8 media-libs/libffado-2.3.0: Fix build with new glibc
9
10 Closes: https://bugs.gentoo.org/640286
11 Closes: https://github.com/gentoo/gentoo/pull/6486
12 Package-Manager: Portage-2.3.13, Repoman-2.3.4
13
14 media-libs/libffado/Manifest | 2 +-
15 .../files/libffado-2.3.0-include-signal.patch | 29 ++++++++++++++++++++++
16 media-libs/libffado/libffado-2.3.0.ebuild | 1 +
17 3 files changed, 31 insertions(+), 1 deletion(-)
18
19 diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
20 index dd5225ee1b8..db5966e713e 100644
21 --- a/media-libs/libffado/Manifest
22 +++ b/media-libs/libffado/Manifest
23 @@ -1 +1 @@
24 -DIST libffado-2.3.0.tgz 1239253 SHA256 18e3c7e610b7cee58b837c921ebb985e324cb2171f8d130f79de02a3fc435f88 SHA512 24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4 WHIRLPOOL 8eb1c3f6372b25b173d230500cfad7ef7207d730ec8e048bdb84cd7436e196e5429d85afcea0f626a411c1f792f20f1ab59f0c0b0f5a97b114f646c4a7423053
25 +DIST libffado-2.3.0.tgz 1239253 BLAKE2B cb470a590df8018975f40f56cde50468a2b51c9504b719b70ce5941406829f25452a96b8ac897aba1ed6c8d4cafa712e7872430e7bb2ebec0822f7b4720084c5 SHA512 24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4
26
27 diff --git a/media-libs/libffado/files/libffado-2.3.0-include-signal.patch b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
28 new file mode 100644
29 index 00000000000..4eabf12eef0
30 --- /dev/null
31 +++ b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
32 @@ -0,0 +1,29 @@
33 +------------------------------------------------------------------------
34 +r2706 | jwoithe | 2017-08-08 08:39:56 +0900 (Tue, 08 Aug 2017) | 11 lines
35 +
36 +PosixMessageQueue: ensure visibility of SIGEV_THREAD declaration.
37 +
38 +Orcan Ogetbil reported on the ffado-devel list that during the recent Fedora
39 +rebuild effort FFADO 2.3.0 failed to compile because SIGEV_THREAD was
40 +undeclared. Jano Svitok made the plausible suggestion that signal.h needs
41 +to be included explicitly under newer glibc versions. This trivial patch
42 +implements this. As of this commit it has not been verified that the
43 +problem is fixed with this addition. However, there's no harm done by the
44 +change in general and conceptionally the change is consistent with the
45 +source file's content given the use of signal-related functionality.
46 +
47 +
48 +Index: src/libutil/PosixMessageQueue.cpp
49 +===================================================================
50 +--- a/src/libutil/PosixMessageQueue.cpp (revision 2705)
51 ++++ b/src/libutil/PosixMessageQueue.cpp (revision 2706)
52 +@@ -30,6 +30,7 @@
53 + #include <errno.h>
54 + #include <string.h>
55 + #include <poll.h>
56 ++#include <signal.h>
57 +
58 + #define MQ_INVALID_ID ((mqd_t) -1)
59 + // one second
60 +
61 +------------------------------------------------------------------------
62
63 diff --git a/media-libs/libffado/libffado-2.3.0.ebuild b/media-libs/libffado/libffado-2.3.0.ebuild
64 index 5aa6ee2a3f3..c5e50c2d21d 100644
65 --- a/media-libs/libffado/libffado-2.3.0.ebuild
66 +++ b/media-libs/libffado/libffado-2.3.0.ebuild
67 @@ -46,6 +46,7 @@ DEPEND="${RDEPEND}
68 PATCHES=(
69 "${FILESDIR}/libffado-2.3.0-modelname-strip.patch"
70 "${FILESDIR}/libffado-2.3.0-gcc6.patch"
71 + "${FILESDIR}/libffado-2.3.0-include-signal.patch"
72 )
73
74 myescons() {