diff options
Diffstat (limited to 'app-emulation/kvm/files/kvm-47-configure-qemu.patch')
-rw-r--r-- | app-emulation/kvm/files/kvm-47-configure-qemu.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-emulation/kvm/files/kvm-47-configure-qemu.patch b/app-emulation/kvm/files/kvm-47-configure-qemu.patch new file mode 100644 index 0000000..2ffbb99 --- /dev/null +++ b/app-emulation/kvm/files/kvm-47-configure-qemu.patch @@ -0,0 +1,66 @@ +--- kvm-47/configure 2007-10-18 02:58:26.000000000 -0700 ++++ kvm-47/configure 2007-10-18 11:13:31.000000000 -0700 +@@ -6,9 +6,7 @@ + qemu_cc= + qemu_cflags= + qemu_ldflags= +-enable_alsa= +-disable_vnc_tls= +-disable_gcc_check= ++qemu_conf= + cross_prefix= + arch=`uname -m` + target_exec= +@@ -26,8 +24,10 @@ + --qemu-cc=CC specify compiler for qemu (must be gcc-3.x) + --qemu-cflags=CFLAGS CFLAGS to add to qemu configuration + --qemu-ldflags=LDFLAGS LDFLAGS to add to qemu configuration +- --enable-alsa enable alsa support for qemu +- --disable-vnc-tls disable vnc tls support for qemu ++ ++ All additional options are given to qemu, that include: ++ --enable-alsa enable alsa support ++ --disable-vnc-tls disable vnc tls support + --disable-gcc-check don't insist on gcc-3.x + CAUTION: this will break running without kvm + EOF +@@ -60,15 +60,6 @@ + --qemu-ldflags) + qemu_ldflags="$arg" + ;; +- --enable-alsa) +- enable_alsa=1 +- ;; +- --disable-vnc-tls) +- disable_vnc_tls=1 +- ;; +- --disable-gcc-check) +- disable_gcc_check=1 +- ;; + --arch) + arch="$arg" + ;; +@@ -79,7 +70,7 @@ + usage + ;; + *) +- usage ++ qemu_conf="$qemu_conf $opt" + ;; + esac + done +@@ -111,13 +102,10 @@ + --disable-kqemu --extra-cflags="-I $PWD/../user $qemu_cflags" \ + --extra-ldflags="-L $PWD/../user $qemu_ldflags" \ + --enable-kvm --kernel-path="$libkvm_kerneldir" \ +- ${enable_alsa:+"--enable-alsa"} \ +- ${disable_vnc_tls:+"--disable-vnc-tls"} \ +- ${disable_gcc_check:+"--disable-gcc-check"} \ + --prefix="$prefix" \ + ${qemu_cc:+"--cc=$qemu_cc"} \ + ${cross_prefix:+"--cross-prefix=$cross_prefix"} \ +- ${cross_prefix:+"--cpu=$arch"} ++ ${cross_prefix:+"--cpu=$arch"} $qemu_conf + ) + + |