summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/patches/patch-af')
-rw-r--r--cad/qcad/patches/patch-af10
1 files changed, 7 insertions, 3 deletions
diff --git a/cad/qcad/patches/patch-af b/cad/qcad/patches/patch-af
index 4b254feb62a..ef9147ee2ac 100644
--- a/cad/qcad/patches/patch-af
+++ b/cad/qcad/patches/patch-af
@@ -1,13 +1,17 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/03/26 20:53:54 jtb Exp $
+$NetBSD: patch-af,v 1.2 2003/04/29 21:51:54 jtb Exp $
---- rfonts.cpp.orig Tue Feb 20 21:32:17 2001
+--- rfonts.cpp.orig
+++ rfonts.cpp
-@@ -68,7 +68,7 @@
+@@ -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" );