You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/qemu/files/qemu-0.11.1-cfg-pulse.patch

29 lines
622 B

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)