openbsd-ports/print/foomatic-db-engine/patches/patch-foomatic-combo-xml_c
2011-04-15 18:50:06 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-foomatic-combo-xml_c,v 1.4 2011/04/15 18:50:06 ajacoutot Exp $
--- foomatic-combo-xml.c.orig Fri Feb 18 13:30:22 2011
+++ foomatic-combo-xml.c Fri Apr 15 20:45:20 2011
@@ -2225,7 +2225,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",