diff options
Diffstat (limited to 'lang/python22/files')
-rw-r--r-- | lang/python22/files/patch-Lib:urllib.py | 14 | ||||
-rw-r--r-- | lang/python22/files/patch-configure | 10 | ||||
-rw-r--r-- | lang/python22/files/patch-setup.py | 11 |
3 files changed, 0 insertions, 35 deletions
diff --git a/lang/python22/files/patch-Lib:urllib.py b/lang/python22/files/patch-Lib:urllib.py deleted file mode 100644 index 63830a9475c6..000000000000 --- a/lang/python22/files/patch-Lib:urllib.py +++ /dev/null @@ -1,14 +0,0 @@ ---- Lib/urllib.py.orig Wed Apr 10 08:19:21 2002 -+++ Lib/urllib.py Wed Apr 10 08:25:58 2002 -@@ -409,7 +409,10 @@ - import mimetypes, mimetools, rfc822, StringIO - host, file = splithost(url) - localname = url2pathname(file) -- stats = os.stat(localname) -+ try: -+ stats = os.stat(localname) -+ except OSError, e: -+ raise IOError(e.errno, e.strerror, e.filename) - size = stats[stat.ST_SIZE] - modified = rfc822.formatdate(stats[stat.ST_MTIME]) - mtype = mimetypes.guess_type(url)[0] diff --git a/lang/python22/files/patch-configure b/lang/python22/files/patch-configure deleted file mode 100644 index e40f4ac925e3..000000000000 --- a/lang/python22/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Sun Jan 20 15:31:22 2002 -+++ configure Sun Jan 20 15:56:58 2002 -@@ -6980,6 +6980,7 @@ - #line 6981 "configure" - #include "confdefs.h" - #include <stdio.h> -+#include <wchar.h> - main() - { - FILE *f=fopen("conftestval", "w"); diff --git a/lang/python22/files/patch-setup.py b/lang/python22/files/patch-setup.py deleted file mode 100644 index f3cef489fa8f..000000000000 --- a/lang/python22/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig Fri Mar 2 07:24:14 2001 -+++ setup.py Mon Mar 5 15:26:17 2001 -@@ -14,7 +14,7 @@ - from distutils.command.build_ext import build_ext - - # This global variable is used to hold the list of modules to be disabled. --disabled_module_list = [] -+disabled_module_list = ["_tkinter", "gdbm", "mpz", "pyexpat"] - - def find_file(filename, std_dirs, paths): - """Searches for the directory where a given file is located, |