diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-04-25 12:21:49 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-04-25 12:21:49 +0000 |
| commit | 8d5784b9eae80714acb51ed67c611619b841c105 (patch) | |
| tree | e5b7f9464fcaacd90c3a20b481b670f45884861a /meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch | |
| parent | c06037203d186d12eda82eb86e0d6337e9dbe5ce (diff) | |
| download | poky-8d5784b9eae80714acb51ed67c611619b841c105.tar.gz | |
qemu: Restore qemu r4027 until i686 issues are resolved
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4338 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch')
| -rw-r--r-- | meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch b/meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch new file mode 100644 index 0000000000..3ec304a38c --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1+svnr4027/configure_symlinkpath_fix.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | Index: 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" | ||
