about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch b/nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch
new file mode 100644
index 000000000000..763f785726b7
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch
@@ -0,0 +1,15 @@
+diff -ruN qt-x11-free-3.3.3/configure qt-x11-free-3.3.3.new/configure
+--- qt-x11-free-3.3.3/configure	2004-06-14 11:18:55.000000000 +0200
++++ qt-x11-free-3.3.3.new/configure	2005-11-12 19:39:43.000000000 +0100
+@@ -16,9 +16,9 @@
+ relconf=`basename $0`
+ # the directory of this script is the "source tree"
+ relpath=`dirname $0`
+-relpath=`(cd $relpath; /bin/pwd)`
++relpath=`(cd $relpath; pwd)`
+ # the current directory is the "build tree" or "object tree"
+-outpath=`/bin/pwd`
++outpath=`pwd`
+ 
+ # later cache the command line in config.status
+ OPT_CMDLINE=`echo $@ | sed "s,-v ,,g; s,-v$,,g"`