summaryrefslogtreecommitdiff
path: root/cad/qcad/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/files/patch-ad')
-rw-r--r--cad/qcad/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/qcad/files/patch-ad b/cad/qcad/files/patch-ad
new file mode 100644
index 000000000000..65f540115e0b
--- /dev/null
+++ b/cad/qcad/files/patch-ad
@@ -0,0 +1,11 @@
+--- relement.cpp.orig Sat Aug 12 03:31:54 2000
++++ relement.cpp Sat Sep 23 14:37:06 2000
+@@ -3681,7 +3681,7 @@
+
+ // Search pattern in /usr/share/<proj>/hatches dir:
+ if(!QFileInfo(patternPath).exists()) {
+- patternPath = QString("/usr/share/")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf";
++ patternPath = QString("%%PREFIX%%/share/")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf";
+ }
+ #endif
+ */