diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-09-28 14:06:21 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-28 14:06:21 +0000 |
commit | 3ce6158c5a4e3c1c9b6ab90430b4ddc185e981f8 (patch) | |
tree | cc453b223c2105fe2e7428a5d4dbf71bc7360d8e /packages/python/python-2.4.1/fix-tkinter-detection.patch | |
parent | 330298f2add1e08ccaec822a439405b26284cc06 (diff) |
upgrade python to 2.4.2
NOTE: there's no need to upgrade python-native.
Diffstat (limited to 'packages/python/python-2.4.1/fix-tkinter-detection.patch')
-rw-r--r-- | packages/python/python-2.4.1/fix-tkinter-detection.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/packages/python/python-2.4.1/fix-tkinter-detection.patch b/packages/python/python-2.4.1/fix-tkinter-detection.patch deleted file mode 100644 index 602aa8e021..0000000000 --- a/packages/python/python-2.4.1/fix-tkinter-detection.patch +++ /dev/null @@ -1,39 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- Python-2.4.1/setup.py~fix-tkinter-detection -+++ Python-2.4.1/setup.py -@@ -999,7 +999,7 @@ - dotversion = dotversion[:-1] + '.' + dotversion[-1] - tcl_include_sub = [] - tk_include_sub = [] -- for dir in inc_dirs: -+ for dir in [os.getenv("STAGING_INCDIR")]: - tcl_include_sub += [dir + os.sep + "tcl" + dotversion] - tk_include_sub += [dir + os.sep + "tk" + dotversion] - tk_include_sub += tcl_include_sub -@@ -1018,22 +1018,6 @@ - if dir not in include_dirs: - include_dirs.append(dir) - -- # Check for various platform-specific directories -- if platform == 'sunos5': -- include_dirs.append('/usr/openwin/include') -- added_lib_dirs.append('/usr/openwin/lib') -- elif os.path.exists('/usr/X11R6/include'): -- include_dirs.append('/usr/X11R6/include') -- added_lib_dirs.append('/usr/X11R6/lib64') -- added_lib_dirs.append('/usr/X11R6/lib') -- elif os.path.exists('/usr/X11R5/include'): -- include_dirs.append('/usr/X11R5/include') -- added_lib_dirs.append('/usr/X11R5/lib') -- else: -- # Assume default location for X11 -- include_dirs.append('/usr/X11/include') -- added_lib_dirs.append('/usr/X11/lib') -- - # If Cygwin, then verify that X is installed before proceeding - if platform == 'cygwin': - x11_inc = find_file('X11/Xlib.h', [], include_dirs) |