summaryrefslogtreecommitdiff
path: root/cad/qcad/files/patch-ae
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-13 20:19:12 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-13 20:19:12 +0000
commit3a6f0a8b69070b29eb1db18356151deec20601d6 (patch)
tree98573469da413cbfbf4c586048fafb29b20a2fd7 /cad/qcad/files/patch-ae
parentUpdate to 0.4.7 (diff)
Update to 1.4.4
PR: 21573 Submitted by: Ports Fury
Diffstat (limited to 'cad/qcad/files/patch-ae')
-rw-r--r--cad/qcad/files/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/qcad/files/patch-ae b/cad/qcad/files/patch-ae
new file mode 100644
index 000000000000..3a98da5fee03
--- /dev/null
+++ b/cad/qcad/files/patch-ae
@@ -0,0 +1,20 @@
+--- rfile.cpp.orig Sat Aug 12 03:31:54 2000
++++ rfile.cpp Sat Sep 23 14:38:35 2000
+@@ -295,7 +295,7 @@
+
+ #ifndef DEF_WINDOWS
+ // Test /usr/share/<proj>/...:
+- ret = QString("/usr/share/")+DEF_APPNAME_L+subdir+"/"+_name;
++ ret = QString("%%PREFIX%%/share/")+DEF_APPNAME_L+subdir+"/"+_name;
+ RLOG("\nret2: "); RLOG(ret);
+ if(QFileInfo(ret).exists()) return ret;
+
+@@ -327,7 +327,7 @@
+ #ifndef DEF_WINDOWS
+ if(_prior==0 || _prior==2) {
+ // Test /usr/share/<proj>/...:
+- ret = QString("/usr/share/")+DEF_APPNAME_L+"/"+_subdir;
++ ret = QString("%%PREFIX%%/share/")+DEF_APPNAME_L+"/"+_subdir;
+ if(QFileInfo(ret).exists()) return ret;
+ }
+