diff options
Diffstat (limited to 'x11/xcurs/files/patch-xcurs.py')
-rw-r--r-- | x11/xcurs/files/patch-xcurs.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/xcurs/files/patch-xcurs.py b/x11/xcurs/files/patch-xcurs.py new file mode 100644 index 000000000000..d101a74e6e07 --- /dev/null +++ b/x11/xcurs/files/patch-xcurs.py @@ -0,0 +1,23 @@ +--- xcurs.py.orig Wed Sep 1 03:50:28 2004 ++++ xcurs.py Mon Dec 27 11:24:46 2004 +@@ -1,6 +1,10 @@ + #!/usr/bin/python -OO + +-import sys, re ++import os, sys, re ++ ++prefix = os.path.split(os.path.dirname(sys.argv[0]))[0] ++sys.path.append(os.path.join(prefix, 'lib', 'xcurs')) ++ + import pygtk + pygtk.require('2.0') + import gtk.glade +@@ -8,7 +12,7 @@ + import gladew + import Image + +-import os, new, types ++import new, types + + # for xcurs + # import parsexcursor |