diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-03-24 22:49:33 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-03-24 22:49:33 +0000 |
commit | e383d19cefe412d574cc1c4a712a687784b3a0d6 (patch) | |
tree | 32188e4315f50bf89c2ab00d086494f3ef56eec4 /app-emulation/qemu/files | |
parent | Fixes bug #405455, again (diff) | |
download | gentoo-2-e383d19cefe412d574cc1c4a712a687784b3a0d6.tar.gz gentoo-2-e383d19cefe412d574cc1c4a712a687784b3a0d6.tar.bz2 gentoo-2-e383d19cefe412d574cc1c4a712a687784b3a0d6.zip |
Fixed configure failure against pulseaudio-1.1 (bug #384847 by Ian Abbott, fixed by Ian Abbott and Nathan Phillip Brink).
(Portage version: 2.2.0_alpha91/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/qemu/files')
-rw-r--r-- | app-emulation/qemu/files/qemu-0.11.1-cfg-pulse.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu-0.11.1-cfg-pulse.patch b/app-emulation/qemu/files/qemu-0.11.1-cfg-pulse.patch new file mode 100644 index 000000000000..767038357cf4 --- /dev/null +++ b/app-emulation/qemu/files/qemu-0.11.1-cfg-pulse.patch @@ -0,0 +1,28 @@ +From: Nathan Phillip Brink <binki@gentoo.org> + +Fix detection of pulseaudio caused by not including the headers which +define NULL. + +--- a/configure ++++ b/configure +@@ -1004,7 +1004,9 @@ + lib=$3 + exp=$4 + cfl=$5 ++ prologue=${6} + cat > $TMPC << EOF ++${prologue} + #include <$hdr> + int main(void) { $exp } + EOF +@@ -1044,7 +1046,8 @@ + + pa) + audio_drv_probe $drv pulse/simple.h -lpulse-simple \ +- "pa_simple *s = NULL; pa_simple_free(s); return 0;" ++ "pa_simple *s = NULL; pa_simple_free(s); return 0;" \ ++ '' '#include <stddef.h> /* NULL */' + ;; + + oss|sdl|core|wav|dsound) + |