openbsd-ports/print/py-cups/patches/patch-cupsconnection_c
2009-09-01 08:12:51 +00:00

14 lines
486 B
Plaintext

$OpenBSD: patch-cupsconnection_c,v 1.5 2009/09/01 08:12:51 ajacoutot Exp $
--- cupsconnection.c.orig Thu Jun 18 13:10:22 2009
+++ cupsconnection.c Tue Sep 1 10:07:06 2009
@@ -3247,8 +3247,7 @@ Connection_printTestPage (Connection *self, PyObject *
break;
}
} else {
- const char *const dirs[] = { "/usr/share/cups",
- "/usr/local/share/cups",
+ const char *const dirs[] = { "${LOCALBASE}/share/cups",
NULL };
int found = 0;
int i;