openbsd-ports/print/foomatic-db-engine/patches/patch-foomatic-combo-xml_c
ajacoutot c2879afdcf Update to foomatic-db-engine-4.0.4.
The important part for us is that "it is not required any more that for
Foomatic to return a PPD file for a given printer/driver combo that
there is an XML file for both the printer and the driver. One XML file
(either printer or driver) is enough when this file describes the
printer/driver relation."
That means that printers that did not appear before (i.e. one could not
create a custom ppd) where they were marked as supported will now
appear and work fine.
2010-03-21 14:41:00 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-foomatic-combo-xml_c,v 1.3 2010/03/21 14:41:00 ajacoutot Exp $
--- foomatic-combo-xml.c.orig Tue Jan 26 09:20:32 2010
+++ foomatic-combo-xml.c Tue Jan 26 10:24:48 2010
@@ -2151,7 +2151,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",