pkgsrc/cad/qcad/patches/patch-af
jtb 1d3e673cdb Update to version 1.5.4.
Changes include:

* Updated to use qt3
* New functions
* New language translations
* New fonts added
* Many bug fixes
2003-04-29 21:51:53 +00:00

17 lines
596 B
Text

$NetBSD: patch-af,v 1.2 2003/04/29 21:51:54 jtb Exp $
--- rfonts.cpp.orig
+++ rfonts.cpp
@@ -69,10 +69,10 @@
#ifndef DEF_WINDOWS
// Lookup from /usr/share/<proj>/fonts:
- lookupFonts( QString("/usr/share/")+DEF_APPNAME_L+"/fonts" );
+ lookupFonts( QString("@PREFIX@/share/")+DEF_APPNAME_L+"/fonts" );
// Lookup from /usr/X11R6/<proj>/fonts:
- lookupFonts( QString("/usr/X11R6/")+DEF_APPNAME_L+"/fonts" );
+ lookupFonts( QString("@X11BASE@/")+DEF_APPNAME_L+"/fonts" );
// Lookup from /usr/local/<proj>/fonts:
lookupFonts( QString("/usr/local/")+DEF_APPNAME_L+"/fonts" );