summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/patches/patch-ad')
-rw-r--r--cad/qcad/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/qcad/patches/patch-ad b/cad/qcad/patches/patch-ad
new file mode 100644
index 00000000000..14e4b355929
--- /dev/null
+++ b/cad/qcad/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/03/26 20:53:54 jtb Exp $
+
+--- relement.cpp.orig Tue Feb 20 21:30:40 2001
++++ relement.cpp
+@@ -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
+ */