aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad2/files/patch-relement.cpp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-19 16:41:28 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-19 16:41:28 +0000
commit9fbeb99b3ee9be154fc804099e4d82db958d7fda (patch)
tree8176fb0cd938ba9fd4bcd26be0c3c0ac1ad826d7 /cad/qcad2/files/patch-relement.cpp
parent8c4f0bbc9db79bcba4defc5f15fcb3ffd2d4622c (diff)
downloadports-9fbeb99b3ee9be154fc804099e4d82db958d7fda.tar.gz
ports-9fbeb99b3ee9be154fc804099e4d82db958d7fda.zip
Notes
Diffstat (limited to 'cad/qcad2/files/patch-relement.cpp')
-rw-r--r--cad/qcad2/files/patch-relement.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/qcad2/files/patch-relement.cpp b/cad/qcad2/files/patch-relement.cpp
new file mode 100644
index 000000000000..579788c75330
--- /dev/null
+++ b/cad/qcad2/files/patch-relement.cpp
@@ -0,0 +1,11 @@
+--- relement.cpp.orig Fri Nov 8 16:01:15 2002
++++ relement.cpp Fri Nov 8 16:03:44 2002
+@@ -3683,7 +3683,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("DATADIR")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf";
+ }
+ #endif
+ */