openbsd-ports/print/system-config-printer/patches/patch-probe_printer_py
2011-07-29 16:56:32 +00:00

13 lines
618 B
Plaintext

$OpenBSD: patch-probe_printer_py,v 1.3 2011/07/29 16:56:32 ajacoutot Exp $
--- probe_printer.py.orig Thu Jul 28 18:04:13 2011
+++ probe_printer.py Fri Jul 29 18:47:58 2011
@@ -268,7 +268,7 @@ class PrinterFinder:
null = file ("/dev/null", "r+")
try:
debugprint ("snmp: trying")
- p = subprocess.Popen (args=["/usr/lib/cups/backend/snmp",
+ p = subprocess.Popen (args=["${LOCALBASE}/libexec/cups/backend/snmp",
self.hostname],
close_fds=True,
stdin=null,