summaryrefslogtreecommitdiff
path: root/net/straw/files/patch-src::straw
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-14 19:25:02 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-14 19:25:02 +0000
commit3f34becf1464aef60d202c20968e2430da6bd00e (patch)
tree4f55365da49bbd049401b2816f83ab8c18424d4c /net/straw/files/patch-src::straw
parentFix up mmc_unmap so that it does not try to search on the (unused) (diff)
Add straw, a GNOME/Python based RSS/RDF news feed aggregator.
PR: 59282 Submitted by: Jeremy Messenger <mezz7@cox.net>
Notes
Notes: svn path=/head/; revision=93972
Diffstat (limited to 'net/straw/files/patch-src::straw')
-rw-r--r--net/straw/files/patch-src::straw24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/straw/files/patch-src::straw b/net/straw/files/patch-src::straw
new file mode 100644
index 000000000000..af6ce82249d0
--- /dev/null
+++ b/net/straw/files/patch-src::straw
@@ -0,0 +1,24 @@
+--- src/straw.orig Thu Nov 13 21:59:51 2003
++++ src/straw Thu Nov 13 22:01:07 2003
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.2
++#!/usr/bin/env python
+ #
+ # Copyright (c) 2002 Juri Pakaste
+ # You may use and distribute this software under the terms of the
+@@ -19,13 +19,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
+