aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-11-09 22:17:07 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-11-09 22:17:07 +0000
commit4ddaaccc1714c5b16b4ade51fe24538175baacaa (patch)
tree4ef8c9721b5f85ea245098f1570bc1ae36b02837 /cad/qcad
parentd2abf95cc9162443258c5ebe7c68a8ac15848568 (diff)
downloadports-4ddaaccc1714c5b16b4ade51fe24538175baacaa.tar.gz
ports-4ddaaccc1714c5b16b4ade51fe24538175baacaa.zip
Fix the context of some patches so that they apply with stricter patch(1)
PR: 223545 With hat: portmgr
Notes
Notes: svn path=/head/; revision=453874
Diffstat (limited to 'cad/qcad')
-rw-r--r--cad/qcad/files/patch-src_core_RS.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/cad/qcad/files/patch-src_core_RS.cpp b/cad/qcad/files/patch-src_core_RS.cpp
index 9663a39262db..2238fc4983c8 100644
--- a/cad/qcad/files/patch-src_core_RS.cpp
+++ b/cad/qcad/files/patch-src_core_RS.cpp
@@ -1,11 +1,13 @@
---- src/core/RS.cpp.orig 2015-01-30 18:11:57.235513076 +0100
-+++ src/core/RS.cpp 2015-01-30 18:12:23.988630795 +0100
-@@ -119,4 +119,8 @@
- */
+--- src/core/RS.cpp.orig 2017-07-21 17:57:53 UTC
++++ src/core/RS.cpp
+@@ -118,6 +118,10 @@ QStringList RS::getDirectoryList(const Q
+ }
+ #ifdef Q_OS_MAC
+#ifdef Q_OS_FREEBSD
+ dirList.append("%%DATADIR%%/" + subDirectory);
+#endif
+
- // Individual directories:
- /*
+ // Mac OS X app bundle:
+ dirList.append(appDir + "/../Resources/" + subDirectory);
+ dirList.append(appDir + "/../../../" + subDirectory);