summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-dd
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/patches/patch-dd')
-rw-r--r--emulators/qemu/patches/patch-dd19
1 files changed, 10 insertions, 9 deletions
diff --git a/emulators/qemu/patches/patch-dd b/emulators/qemu/patches/patch-dd
index 31e20c2f09d..ed45be85bb0 100644
--- a/emulators/qemu/patches/patch-dd
+++ b/emulators/qemu/patches/patch-dd
@@ -1,4 +1,4 @@
-$NetBSD: patch-dd,v 1.6 2011/07/11 09:57:18 ryoon Exp $
+$NetBSD: patch-dd,v 1.7 2011/08/22 12:00:34 ryoon Exp $
Remove confsuffix from sysconfdir so that our PKG_SYSCONFSUBDIR setting
works.
@@ -8,9 +8,9 @@ Install man pages into ${PREFIX}/man, not ${PREFIX}/share/man.
Handle arm and armeb case on NetBSD.
XXX: it looks mips is always treated as big endian.
---- configure.orig 2011-05-06 19:01:43.000000000 +0000
+--- configure.orig 2011-08-08 18:28:42 +0000
+++ configure
-@@ -140,12 +140,12 @@ bigendian="no"
+@@ -141,13 +141,13 @@ bigendian="no"
mingw32="no"
EXESUF=""
prefix="/usr/local"
@@ -19,13 +19,14 @@ XXX: it looks mips is always treated as big endian.
datadir="\${prefix}/share/qemu"
docdir="\${prefix}/share/doc/qemu"
bindir="\${prefix}/bin"
+ libdir="\${prefix}/lib"
sysconfdir="\${prefix}/etc"
-confsuffix="/qemu"
+confsuffix=""
slirp="yes"
fmod_lib=""
fmod_inc=""
-@@ -275,12 +275,18 @@ elif check_define __s390__ ; then
+@@ -281,12 +281,18 @@ elif check_define __s390__ ; then
else
cpu="s390"
fi
@@ -40,12 +41,12 @@ XXX: it looks mips is always treated as big endian.
fi
case "$cpu" in
-- alpha|cris|ia64|m68k|microblaze|ppc|ppc64|sparc64)
-+ alpha|arm|armeb|cris|ia64|m68k|microblaze|ppc|ppc64|sparc64)
+- alpha|cris|ia64|lm32|m68k|microblaze|ppc|ppc64|sparc64|unicore32)
++ alpha|arm|armeb|cris|ia64|lm32|m68k|microblaze|ppc|ppc64|sparc64|unicore32)
cpu="$cpu"
;;
i386|i486|i586|i686|i86pc|BePC)
-@@ -1080,7 +1086,7 @@ else
+@@ -1152,7 +1158,7 @@ else
# if cross compiling, cannot launch a program, so make a static guess
case "$cpu" in
@@ -54,8 +55,8 @@ XXX: it looks mips is always treated as big endian.
bigendian=yes
;;
esac
-@@ -2498,7 +2504,7 @@ case "$cpu" in
- i386|x86_64|alpha|cris|hppa|ia64|m68k|microblaze|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64)
+@@ -2730,7 +2736,7 @@ case "$cpu" in
+ i386|x86_64|alpha|cris|hppa|ia64|lm32|m68k|microblaze|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64|unicore32)
ARCH=$cpu
;;
- armv4b|armv4l)