diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-lang/python/files/setup.patch | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-lang/python/files/setup.patch')
| -rw-r--r-- | dev-lang/python/files/setup.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-lang/python/files/setup.patch b/dev-lang/python/files/setup.patch new file mode 100644 index 000000000000..ed117caf9c93 --- /dev/null +++ b/dev-lang/python/files/setup.patch @@ -0,0 +1,31 @@ +Index: setup.py +--- setup.py.orig ++++ setup.py +@@ -1151,6 +1151,8 @@ class PyBuildExt(build_ext): + 'termcap'): + readline_libs.append('termcap') + self.add(Extension('readline', ['readline.c'], ++ extra_compile_args=['-nostdinc'], ++ include_dirs=['/usr/include'], + library_dirs=['/usr/lib/termcap'], + extra_link_args=readline_extra_link_args, + libraries=readline_libs)) +@@ -1870,7 +1872,7 @@ class PyBuildExt(build_ext): + uuid_h = sysconfig.get_config_var("HAVE_UUID_H") + uuid_uuid_h = sysconfig.get_config_var("HAVE_UUID_UUID_H") + if uuid_h or uuid_uuid_h: +- if sysconfig.get_config_var("HAVE_LIBUUID"): ++ if sysconfig.get_config_var("HAVE_LIBUUID") and not HOST_PLATFORM.startswith('openbsd'): + uuid_libs = ["uuid"] + else: + uuid_libs = [] +@@ -2116,8 +2118,7 @@ class PyBuildExt(build_ext): + # The versions with dots are used on Unix, and the versions without + # dots on Windows, for detection by cygwin. + tcllib = tklib = tcl_includes = tk_includes = None +- for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83', +- '8.2', '82', '8.1', '81', '8.0', '80']: ++ for version in ['85']: + tklib = self.compiler.find_library_file(self.lib_dirs, + 'tk' + version) + tcllib = self.compiler.find_library_file(self.lib_dirs, |
