summaryrefslogtreecommitdiff
path: root/net/gnome-btdownload/files/patch-src::gnome-btdownload
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnome-btdownload/files/patch-src::gnome-btdownload')
-rw-r--r--net/gnome-btdownload/files/patch-src::gnome-btdownload17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/gnome-btdownload/files/patch-src::gnome-btdownload b/net/gnome-btdownload/files/patch-src::gnome-btdownload
new file mode 100644
index 000000000000..f00b144cd660
--- /dev/null
+++ b/net/gnome-btdownload/files/patch-src::gnome-btdownload
@@ -0,0 +1,17 @@
+--- src/gnome-btdownload.orig Wed Oct 22 12:43:59 2003
++++ src/gnome-btdownload Wed Oct 22 12:56:24 2003
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+
+ import BitTorrent.download
+ import os.path, threading, sys, time
+@@ -36,7 +36,7 @@
+ if not locate_file:
+ try:
+ def fallback_locate_attempt_prefixes(path):
+- prefixes = ['', 'usr/', 'usr/local/']
++ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']
+
+ # Try them locally
+ for prefix in prefixes: