mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
This fixes run-time with glib 2.36. PR: ports/180075 [1] Reported by: Stephen Fisher <stephenfisher@outlook.com> [1], swills@
11 lines
531 B
Python
11 lines
531 B
Python
--- cupshelpers/cupshelpers.py.orig 2013-07-22 15:58:32.000000000 +0200
|
|
+++ cupshelpers/cupshelpers.py 2013-08-29 11:18:44.000000000 +0200
|
|
@@ -739,7 +739,7 @@
|
|
|
|
# First, a local function. How to check that something exists
|
|
# in a path:
|
|
- def pathcheck (name, path="/usr/bin:/bin"):
|
|
+ def pathcheck (name, path="%%LOCALBASE%%/bin:%%PREFIX%%/bin:/usr/bin:/bin"):
|
|
if name == "-":
|
|
# A filter of "-" means that no filter is required,
|
|
# i.e. the device accepts the given format as-is.
|