freebsd-ports/net/straw/files/patch-src::straw
Joe Marcus Clarke e24014bb36 Update to 0.22.
PR:		62978
Submitted by:	maintainer
2004-02-18 20:25:10 +00:00

18 lines
584 B
Text

--- src/straw.orig Tue Feb 17 13:37:00 2004
+++ src/straw Tue Feb 17 13:37:50 2004
@@ -20,13 +20,14 @@
return sd
h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0])
if t == 'bin':
- libdir = os.path.join(h, 'lib')
+ libdir = os.path.join(h, 'share', 'gnome')
fp = os.path.join(libdir, 'straw')
if os.path.isdir(fp):
return libdir
raise "FileNotFoundError", "couldn't find straw library dir"
sys.path.insert(0, find_straw_lib())
+sys.path.insert(0, '%%PYTHON_SITELIBDIR%%')
import straw