openbsd-ports/print/foomatic-db-engine/patches/patch-foomatic-combo-xml_c
ajacoutot 09adbe6dc8 Update to foomatic-db-engine-4.0.3.
Add a link from foomatic-ppdfile  to the CUPS driver directory so that
PPDs file will be created on demand (no need to hunt for them on
openprinting.org).

Merge MESSAGE from foomatic-db-gutenprint to be more coherent.

Rework dependencies:
foomatic-db{gutenprint,hpijs}->foomatic-db->foomatic-db-engine
2009-12-10 10:57:59 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-foomatic-combo-xml_c,v 1.2 2009/12/10 10:57:59 ajacoutot Exp $
--- foomatic-combo-xml.c.orig Wed Aug 19 20:09:13 2009
+++ foomatic-combo-xml.c Mon Dec 7 14:30:53 2009
@@ -2087,7 +2087,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",