mp4v2: fix build with gcc7 via Fedora patch
It fixes a bug anyway.
This commit is contained in:
parent
bf25148902
commit
837de09605
@ -8,11 +8,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683";
|
sha256 = "0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
# From Handbrake
|
# From Handbrake
|
||||||
# mp4v2 doesn't seem to be actively maintained any more :-/
|
# mp4v2 doesn't seem to be actively maintained any more :-/
|
||||||
patches = [
|
|
||||||
./A02-meaningful-4gb-warning.patch
|
./A02-meaningful-4gb-warning.patch
|
||||||
|
|
||||||
|
(fetchurl {
|
||||||
|
name = "gcc-7.patch";
|
||||||
|
url = "https://src.fedoraproject.org/cgit/rpms/libmp4v2.git/plain/"
|
||||||
|
+ "0004-Fix-GCC7-build.patch?id=d7aeedabb";
|
||||||
|
sha256 = "0sbn0il7lmk77yrjyb4f0a3z3h8gsmdkscvz5n9hmrrrhrwf672w";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
# `faac' expects `mp4.h'.
|
# `faac' expects `mp4.h'.
|
||||||
postInstall = "ln -s mp4v2/mp4v2.h $out/include/mp4.h";
|
postInstall = "ln -s mp4v2/mp4v2.h $out/include/mp4.h";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user