openbsd-ports/print/foomatic-db-engine/patches/patch-foomatic-combo-xml_c
ajacoutot 564932b702 - update to foomatic-db-engine-3.0.20070919 for better support of newer
PPDs (also resolve a parsing bug on powerpc)
- use a saner version number
- fix default libdir

ok jakemsr@
2007-09-26 08:25:34 +00:00

13 lines
516 B
Plaintext

$OpenBSD: patch-foomatic-combo-xml_c,v 1.1 2007/09/26 08:25:34 ajacoutot Exp $
--- foomatic-combo-xml.c.orig Tue Sep 25 12:38:18 2007
+++ foomatic-combo-xml.c Tue Sep 25 12:38:49 2007
@@ -1930,7 +1930,7 @@ main(int argc, /* I - Number of command-line argu
/* Set libdir to the default if empty */
if (libdir == NULL)
- libdir = "/usr/share/foomatic";
+ libdir = "!!LOCALBASE!!/share/foomatic";
/* Load translation table for old printer IDs */
sprintf(oldidfilename, "%s/db/oldprinterids",