diff options
author | arved <arved@FreeBSD.org> | 2002-11-20 00:41:28 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2002-11-20 00:41:28 +0800 |
commit | fa3824fc601e36958e76872797c6dd5c4b450ddc (patch) | |
tree | 396cc1238c1674fb811bdf50285564070ff65844 /cad/qcad/files | |
parent | 42f11ec47ba2ce4df279329e221c60725cb52bee (diff) | |
download | freebsd-ports-gnome-fa3824fc601e36958e76872797c6dd5c4b450ddc.tar.gz freebsd-ports-gnome-fa3824fc601e36958e76872797c6dd5c4b450ddc.tar.zst freebsd-ports-gnome-fa3824fc601e36958e76872797c6dd5c4b450ddc.zip |
Update to 1.5.4
PR: 43694
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'cad/qcad/files')
-rw-r--r-- | cad/qcad/files/patch-relement.cpp | 11 | ||||
-rw-r--r-- | cad/qcad/files/patch-rprgdef.h | 25 |
2 files changed, 36 insertions, 0 deletions
diff --git a/cad/qcad/files/patch-relement.cpp b/cad/qcad/files/patch-relement.cpp new file mode 100644 index 000000000000..579788c75330 --- /dev/null +++ b/cad/qcad/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 + */ diff --git a/cad/qcad/files/patch-rprgdef.h b/cad/qcad/files/patch-rprgdef.h new file mode 100644 index 000000000000..349fc5cc5ff9 --- /dev/null +++ b/cad/qcad/files/patch-rprgdef.h @@ -0,0 +1,25 @@ +--- rprgdef.h.orig Fri Sep 20 19:26:57 2002 ++++ rprgdef.h Tue Nov 19 16:48:27 2002 +@@ -23,12 +23,14 @@ + + + // Uncomment for Linux ++/* + #define DEF_LINUX // Are we running Linux? + #define RUNNING_LINUX true + #define RUNNING_WINDOWS false + #define RUNNING_SOLARIS false + #define RUNNING_IRIX false + #define DATADIR "/usr/share" ++*/ + + + #ifdef __FreeBSD__ +@@ -38,6 +40,7 @@ + #define RUNNING_WINDOWS false + #define RUNNING_SOLARIS false + #define RUNNING_IRIX false ++#define DATADIR "/usr/local/share" + #endif + + |