aboutsummaryrefslogtreecommitdiff
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-btdownload22
1 files changed, 11 insertions, 11 deletions
diff --git a/net/gnome-btdownload/files/patch-src::gnome-btdownload b/net/gnome-btdownload/files/patch-src::gnome-btdownload
index 80ed19fb1cc1..3a7a77da040a 100644
--- a/net/gnome-btdownload/files/patch-src::gnome-btdownload
+++ b/net/gnome-btdownload/files/patch-src::gnome-btdownload
@@ -1,17 +1,17 @@
---- src/gnome-btdownload.orig Thu Jan 8 22:13:40 2004
-+++ src/gnome-btdownload Thu Jan 8 22:14:05 2004
+--- src/gnome-btdownload.orig Tue Jun 15 00:16:22 2004
++++ src/gnome-btdownload Tue Jun 15 00:17:17 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+ # BitTorrent related modules.
import BitTorrent.download, BitTorrent.bencode
- import os.path, threading, sys, time, re
-@@ -49,7 +49,7 @@
- if not locate_file or not get_url:
- try:
- def fallback_locate_attempt_prefixes(path):
-- prefixes = ['', 'usr/', 'usr/local/']
-+ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']
+@@ -72,7 +72,7 @@
+ # Fallback wrapper
+ if not locate_file:
+ def fallback_locate_attempt_prefixes(path):
+- prefixes = ['', 'usr/', 'usr/local/']
++ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']
- # Try them locally
- for prefix in prefixes:
+ # Try them locally
+ for prefix in prefixes: