ffado: fix build with glibc-2.26

see https://sourceforge.net/p/ffado/mailman/message/36008067/
This commit is contained in:
Piotr Bogdan 2017-11-08 17:35:07 +00:00
parent 2704fdd710
commit 1e78b48666
2 changed files with 14 additions and 1 deletions

View File

@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
optXdg_utils libxmlxx glibmm
];
patches = [ ./gcc6.patch ];
patches = [
./gcc6.patch
./glibc226.patch
];
postPatch = ''
# SConstruct checks cpuinfo and an objdump of /bin/mount to determine the appropriate arch

View File

@ -0,0 +1,10 @@
--- libffado/src/libutil/PosixMessageQueue.cpp (revision 2705)
+++ libffado/src/libutil/PosixMessageQueue.cpp (revision 2706)
@@ -30,6 +30,7 @@
#include <errno.h>
#include <string.h>
#include <poll.h>
+#include <signal.h>
#define MQ_INVALID_ID ((mqd_t) -1)
// one second