From 6dd1c348da56ab8a1601477b9b844488833327aa Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 9 Dec 2017 06:25:10 +0900 Subject: media-libs/libffado-2.3.0: Fix build with new glibc Closes: https://bugs.gentoo.org/640286 Closes: https://github.com/gentoo/gentoo/pull/6486 Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- media-libs/libffado/Manifest | 2 +- .../files/libffado-2.3.0-include-signal.patch | 29 ++++++++++++++++++++++ media-libs/libffado/libffado-2.3.0.ebuild | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 media-libs/libffado/files/libffado-2.3.0-include-signal.patch diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest index dd5225ee1b8..db5966e713e 100644 --- a/media-libs/libffado/Manifest +++ b/media-libs/libffado/Manifest @@ -1 +1 @@ -DIST libffado-2.3.0.tgz 1239253 SHA256 18e3c7e610b7cee58b837c921ebb985e324cb2171f8d130f79de02a3fc435f88 SHA512 24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4 WHIRLPOOL 8eb1c3f6372b25b173d230500cfad7ef7207d730ec8e048bdb84cd7436e196e5429d85afcea0f626a411c1f792f20f1ab59f0c0b0f5a97b114f646c4a7423053 +DIST libffado-2.3.0.tgz 1239253 BLAKE2B cb470a590df8018975f40f56cde50468a2b51c9504b719b70ce5941406829f25452a96b8ac897aba1ed6c8d4cafa712e7872430e7bb2ebec0822f7b4720084c5 SHA512 24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4 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 new file mode 100644 index 00000000000..4eabf12eef0 --- /dev/null +++ b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch @@ -0,0 +1,29 @@ +------------------------------------------------------------------------ +r2706 | jwoithe | 2017-08-08 08:39:56 +0900 (Tue, 08 Aug 2017) | 11 lines + +PosixMessageQueue: ensure visibility of SIGEV_THREAD declaration. + +Orcan Ogetbil reported on the ffado-devel list that during the recent Fedora +rebuild effort FFADO 2.3.0 failed to compile because SIGEV_THREAD was +undeclared. Jano Svitok made the plausible suggestion that signal.h needs +to be included explicitly under newer glibc versions. This trivial patch +implements this. As of this commit it has not been verified that the +problem is fixed with this addition. However, there's no harm done by the +change in general and conceptionally the change is consistent with the +source file's content given the use of signal-related functionality. + + +Index: src/libutil/PosixMessageQueue.cpp +=================================================================== +--- a/src/libutil/PosixMessageQueue.cpp (revision 2705) ++++ b/src/libutil/PosixMessageQueue.cpp (revision 2706) +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #define MQ_INVALID_ID ((mqd_t) -1) + // one second + +------------------------------------------------------------------------ diff --git a/media-libs/libffado/libffado-2.3.0.ebuild b/media-libs/libffado/libffado-2.3.0.ebuild index 5aa6ee2a3f3..c5e50c2d21d 100644 --- a/media-libs/libffado/libffado-2.3.0.ebuild +++ b/media-libs/libffado/libffado-2.3.0.ebuild @@ -46,6 +46,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/libffado-2.3.0-modelname-strip.patch" "${FILESDIR}/libffado-2.3.0-gcc6.patch" + "${FILESDIR}/libffado-2.3.0-include-signal.patch" ) myescons() { -- cgit v1.2.1