Put in the badly needed patch for pyicqt-0.7a/PyICQt.py
This commit is contained in:
parent
f6ae72b415
commit
897870276e
1 changed files with 15 additions and 0 deletions
15
py-jabber-icqt/patches/patch-ac
Normal file
15
py-jabber-icqt/patches/patch-ac
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-ac,v 1.1 2006/05/06 16:21:44 schnoebe Exp $
|
||||
|
||||
--- PyICQt.py.orig 2006-03-06 13:12:26.000000000 -0600
|
||||
+++ PyICQt.py
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
-# Make 'cwd'/src in the PYTHONPATH
|
||||
+# Make {transport directory}/src in the PYTHONPATH
|
||||
import sys, os, os.path
|
||||
-PATH = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||
+PATH = os.path.join("@PREFIX@", "@TRANSPORTDIR@")
|
||||
os.chdir(PATH)
|
||||
PATH = os.path.join(PATH, "src")
|
||||
sys.path[0] = PATH
|
Loading…
Reference in a new issue