summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/qemu/qemu-0.9.1/configure_symlinkpath_fix.patch28
-rw-r--r--meta/packages/qemu/qemu_0.9.1.bb3
2 files changed, 30 insertions, 1 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/configure_symlinkpath_fix.patch b/meta/packages/qemu/qemu-0.9.1/configure_symlinkpath_fix.patch
new file mode 100644
index 0000000000..3ec304a38c
--- /dev/null
+++ b/meta/packages/qemu/qemu-0.9.1/configure_symlinkpath_fix.patch
@@ -0,0 +1,28 @@
1Index: qemu-0.9.1/configure
2===================================================================
3--- qemu-0.9.1.orig/configure 2008-01-24 15:33:13.000000000 +0000
4+++ qemu-0.9.1/configure 2008-01-24 15:45:50.000000000 +0000
5@@ -209,15 +209,17 @@
6
7 # find source path
8 source_path=`dirname "$0"`
9+source_path_used="no"
10+workdir=`pwd`
11+workdir=`readlink -f $workdir`
12 if [ -z "$source_path" ]; then
13- source_path=`pwd`
14+ source_path=$workdir
15 else
16 source_path=`cd "$source_path"; pwd`
17-fi
18-if test "$source_path" = `pwd` ; then
19- source_path_used="no"
20-else
21- source_path_used="yes"
22+ source_path=`readlink -f $source_path`
23+ if test "$source_path" != "$workdir" ; then
24+ source_path_used="yes"
25+ fi
26 fi
27
28 werror="no"
diff --git a/meta/packages/qemu/qemu_0.9.1.bb b/meta/packages/qemu/qemu_0.9.1.bb
index ed00f700eb..030eb83507 100644
--- a/meta/packages/qemu/qemu_0.9.1.bb
+++ b/meta/packages/qemu/qemu_0.9.1.bb
@@ -1,7 +1,7 @@
1LICENSE = "GPL" 1LICENSE = "GPL"
2DEPENDS = "zlib" 2DEPENDS = "zlib"
3SRCDATE = "20071230" 3SRCDATE = "20071230"
4PR = "r3" 4PR = "r4"
5 5
6FILESPATH = "${FILE_DIRNAME}/qemu-${PV}:${FILE_DIRNAME}/files" 6FILESPATH = "${FILE_DIRNAME}/qemu-${PV}:${FILE_DIRNAME}/files"
7FILESDIR = "${WORKDIR}" 7FILESDIR = "${WORKDIR}"
@@ -32,6 +32,7 @@ SRC_URI = "\
32 file://qemu-amd64-32b-mapping-0.9.0.patch;patch=1 \ 32 file://qemu-amd64-32b-mapping-0.9.0.patch;patch=1 \
33 file://workaround_bad_futex_headers.patch;patch=1 \ 33 file://workaround_bad_futex_headers.patch;patch=1 \
34 file://fix_segfault.patch;patch=1 \ 34 file://fix_segfault.patch;patch=1 \
35 file://configure_symlinkpath_fix.patch;patch=1 \
35 file://disable-error-in-configure.patch;patch=1" 36 file://disable-error-in-configure.patch;patch=1"
36 37
37# svn://svn.o-hand.com/repos/misc/trunk/qemu-packaging/qemu;module=debian;proto=http;srcdate=20070119 \ 38# svn://svn.o-hand.com/repos/misc/trunk/qemu-packaging/qemu;module=debian;proto=http;srcdate=20070119 \