mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge #31402: mlt, ffado: fix includeds with glibc-2.26
This commit is contained in:
commit
94efde5119
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper
|
{ stdenv, fetchFromGitHub, fetchurl, makeWrapper
|
||||||
, SDL, ffmpeg, frei0r, libjack2, libdv, libsamplerate
|
, SDL, ffmpeg, frei0r, libjack2, libdv, libsamplerate
|
||||||
, libvorbis, libxml2, movit, pkgconfig, sox
|
, libvorbis, libxml2, movit, pkgconfig, sox
|
||||||
, gtk2
|
, gtk2
|
||||||
@ -15,6 +15,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0k9vj21n6qxdjd0vvj22cwi35igajjzh5fbjza766izdbijv2i2w";
|
sha256 = "0k9vj21n6qxdjd0vvj22cwi35igajjzh5fbjza766izdbijv2i2w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix for glibc-2.26
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/mltframework/mlt/commit/2125e3955a0d0be61571cf43b674f74b4b93c6f8.patch";
|
||||||
|
sha256 = "1bgs5a3dblsmdmb7hwval9nmq1as4r4f48b3amsc23v69nsl2g0a";
|
||||||
|
})
|
||||||
|
# fix for glibc-2.26
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/mltframework/mlt/commit/fbf6a5187776f2f392cf258935ff49e4c0e87024.patch";
|
||||||
|
sha256 = "045vchpcznzsz47j67kxwdbg133kar66ssna3parnzrxdfqi72pv";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL ffmpeg frei0r libjack2 libdv libsamplerate libvorbis libxml2
|
SDL ffmpeg frei0r libjack2 libdv libsamplerate libvorbis libxml2
|
||||||
makeWrapper movit pkgconfig sox
|
makeWrapper movit pkgconfig sox
|
||||||
|
@ -11,6 +11,18 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
|
url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
|
||||||
sha256 = "10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47";
|
sha256 = "10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47";
|
||||||
};
|
};
|
||||||
|
patches = [
|
||||||
|
# fix for glibc-2.26
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/mltframework/mlt/commit/2125e3955a0d0be61571cf43b674f74b4b93c6f8.patch";
|
||||||
|
sha256 = "1bgs5a3dblsmdmb7hwval9nmq1as4r4f48b3amsc23v69nsl2g0a";
|
||||||
|
})
|
||||||
|
# fix for glibc-2.26
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/mltframework/mlt/commit/fbf6a5187776f2f392cf258935ff49e4c0e87024.patch";
|
||||||
|
sha256 = "045vchpcznzsz47j67kxwdbg133kar66ssna3parnzrxdfqi72pv";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL ffmpeg frei0r libjack2 libdv libsamplerate libvorbis libxml2
|
SDL ffmpeg frei0r libjack2 libdv libsamplerate libvorbis libxml2
|
||||||
|
@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
|
|||||||
optXdg_utils libxmlxx glibmm
|
optXdg_utils libxmlxx glibmm
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./gcc6.patch ];
|
patches = [
|
||||||
|
./gcc6.patch
|
||||||
|
./glibc226.patch
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# SConstruct checks cpuinfo and an objdump of /bin/mount to determine the appropriate arch
|
# SConstruct checks cpuinfo and an objdump of /bin/mount to determine the appropriate arch
|
||||||
|
10
pkgs/os-specific/linux/ffado/glibc226.patch
Normal file
10
pkgs/os-specific/linux/ffado/glibc226.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user