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:
Vladimír Čunát 2013-03-02 22:34:37 +01:00
parent d9a2b1f520
commit d7abc31f5a
2 changed files with 2 additions and 4 deletions

View file

@ -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 = ''

View file

@ -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