diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:40:00 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:40:00 +0000 |
commit | b37a06703c214768619cc2816ae3af34bf6a7511 (patch) | |
tree | 72efae4280a66a7aa813fb072b76f8ceb84f797d /meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch | |
parent | a2513fb4c43954296aab493312bb6dbd8299c4c9 (diff) | |
download | openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.gz openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.bz2 openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.xz openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.zip |
qemu: added SVN recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4322 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch b/meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch new file mode 100644 index 000000000..3ec304a38 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1+svn/configure_symlinkpath_fix.patch @@ -0,0 +1,28 @@ +Index: qemu-0.9.1/configure +=================================================================== +--- qemu-0.9.1.orig/configure 2008-01-24 15:33:13.000000000 +0000 ++++ qemu-0.9.1/configure 2008-01-24 15:45:50.000000000 +0000 +@@ -209,15 +209,17 @@ + + # find source path + source_path=`dirname "$0"` ++source_path_used="no" ++workdir=`pwd` ++workdir=`readlink -f $workdir` + if [ -z "$source_path" ]; then +- source_path=`pwd` ++ source_path=$workdir + else + source_path=`cd "$source_path"; pwd` +-fi +-if test "$source_path" = `pwd` ; then +- source_path_used="no" +-else +- source_path_used="yes" ++ source_path=`readlink -f $source_path` ++ if test "$source_path" != "$workdir" ; then ++ source_path_used="yes" ++ fi + fi + + werror="no" |