qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] some patches for qemu for pkgsrc, DragonFly, NetBSD, H


From: Jeremy C. Reed
Subject: Re: [Qemu-devel] some patches for qemu for pkgsrc, DragonFly, NetBSD, HOST_PPC, without POSIX AIO, and more
Date: Fri, 30 Nov 2007 11:33:00 -0600 (CST)

On Fri, 30 Nov 2007, Jeremy C. Reed wrote:

> The pkgsrc build system has several patches against qemu 0.9.0.
> 
> They are at:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/qemu/patches/
> 
> Do you want them submitted in a certain way?

I forgot to mention that patch-ag above is wrong as it assumes "uname -p" 
works everywhere. Here is my change for that:

--- configure.orig      2007-02-05 17:01:54.000000000 -0600
+++ configure   2007-11-30 09:47:01.000000000 -0600
@@ -29,7 +29,10 @@
 make="make"
 install="install"
 strip="strip"
-cpu=`uname -m`
+cpu=`uname -p`
+if [ "$cpu" = "unknown" ]; then
+  cpu=`uname -m`
+fi
 target_list=""
 case "$cpu" in
   i386|i486|i586|i686|i86pc|BePC)


(Please still see patch-ag as it has changes for powerpc, dragonfly, and 
HAVE_MACHINE_BSWAP_H. Ignore the mandir part.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]