mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
fix the last master merge, sorry for the problems
Now I carefully re-merged all the conflicts and tested some builds. Hopefully it's all OK now.
This commit is contained in:
parent
d9a2b1f520
commit
d7abc31f5a
@ -127,7 +127,6 @@ in stdenv.mkDerivation rec {
|
||||
patches = optional cupsSupport ./cups_allow_deprecated.patch
|
||||
++ optional pulseSupport ./pulseaudio_array_bounds.patch
|
||||
++ optional post25 ./clone_detached.patch
|
||||
++ optional post25 ./clone_detached.patch
|
||||
++ [ ./glibc-2.16-use-siginfo_t.patch ];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -14,14 +14,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "018vb5nmk2fsm143bs2bl2wirhasd4b10d7jchl32zik4inbk2p9";
|
||||
};
|
||||
|
||||
patches = [ ./fix-librt-check.patch ];
|
||||
|
||||
buildInputs =
|
||||
[ attr zlib SDL alsaLib pkgconfig pciutils libuuid vde2 libjpeg libpng
|
||||
ncurses python glib libaio mesa texinfo perl
|
||||
] ++ stdenv.lib.optionals spiceSupport [ spice_protocol spice ];
|
||||
|
||||
patchPhase = "patchShebangs ." + stdenv.lib.optionalString spiceSupport ''
|
||||
patches = [ ./fix-librt-check.patch ];
|
||||
postPatch = "patchShebangs ." + stdenv.lib.optionalString spiceSupport ''
|
||||
for i in configure spice-qemu-char.c ui/spice-input.c ui/spice-core.c ui/qemu-spice.h; do
|
||||
substituteInPlace $i --replace '#include <spice.h>' '#include <spice/spice.h>'
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user