summaryrefslogtreecommitdiff
path: root/print/system-config-printer/files/patch-probe-printer.py
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-09-12 19:45:49 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-09-12 19:45:49 +0000
commit49f2f3f3fa42d4462b6c76ca148638a193954913 (patch)
tree74f7d04b27ddc2f93d7b9d94f80ef7a5e80a112a /print/system-config-printer/files/patch-probe-printer.py
parent- Update to 0.12.2 (diff)
Part two, of the update to 1.4.2. Forgotten files edition.
Diffstat (limited to 'print/system-config-printer/files/patch-probe-printer.py')
-rw-r--r--print/system-config-printer/files/patch-probe-printer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/system-config-printer/files/patch-probe-printer.py b/print/system-config-printer/files/patch-probe-printer.py
new file mode 100644
index 000000000000..497114f0894a
--- /dev/null
+++ b/print/system-config-printer/files/patch-probe-printer.py
@@ -0,0 +1,11 @@
+--- probe_printer.py.orig 2013-08-29 15:54:06.000000000 +0200
++++ probe_printer.py 2013-08-29 15:54:27.000000000 +0200
+@@ -275,7 +275,7 @@
+ null = file ("/dev/null", "r+")
+ try:
+ debugprint ("snmp: trying")
+- p = subprocess.Popen (args=["/usr/lib/cups/backend/snmp",
++ p = subprocess.Popen (args=["%%PREFIX%%/libexec/cups/backend/snmp",
+ self.hostname],
+ close_fds=True,
+ stdin=null,