pkgsrc/cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp
plunky 89854d7397 Update to LibreCAD 2.1.1
There has been a lot of development since the previous version in
pkgsrc. DWG read/write support and SVG export are major features,
along with moving to Qt4 and onwards. The QCAD toolbar is no longer
supported, and the program is faster in operation than the previous
pkgsrc version.

Apart from the github commit log which is overly detailed, the
previous release information with some change logs is at
    https://github.com/LibreCAD/LibreCAD/releases
2016-09-05 21:13:21 +00:00

20 lines
865 B
C++

$NetBSD: patch-librecad_src_lib_engine_rs__system.cpp,v 1.1 2016/09/05 21:13:21 plunky Exp $
Help LibreCAD find the installed files
--- librecad/src/lib/engine/rs_system.cpp.orig 2016-09-04 20:35:17.219964268 +0000
+++ librecad/src/lib/engine/rs_system.cpp
@@ -600,11 +600,8 @@ QStringList RS_System::getDirectoryList(
}
}
- // Ubuntu
- dirList.append("/usr/share/doc/" + appDirName + "/" + subDirectory);
-
- // Redhat style:
- dirList.append("/usr/share/" + appDirName + "/" + subDirectory);
+ dirList.append("@PREFIX@/share/" + appDirName + "/" + subDirectory);
+ dirList.append("@PREFIX@/lib/" + appDirName + "/" + subDirectory);
// Others, RVT April 25, 2011 removed, doesn anybody use that still?
// dirList.append("/usr/X11R6/share/" + appDirName + "/" + subDirectory);