mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-23 09:52:40 +00:00
Initial push
This commit is contained in:
23
packages/python/setup.py.patch
Normal file
23
packages/python/setup.py.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
diff -u -r ../Python-3.4.1/setup.py ./setup.py
|
||||
--- ../Python-3.4.1/setup.py 2014-05-19 07:19:40.000000000 +0200
|
||||
+++ ./setup.py 2014-06-04 11:12:26.776875501 +0200
|
||||
@@ -568,7 +568,8 @@
|
||||
libraries=math_libs) )
|
||||
|
||||
# time libraries: librt may be needed for clock_gettime()
|
||||
- time_libs = []
|
||||
+ # math_libs is needed by floatsleep()
|
||||
+ time_libs = list(math_libs)
|
||||
lib = sysconfig.get_config_var('TIMEMODULE_LIB')
|
||||
if lib:
|
||||
time_libs.append(lib)
|
||||
@@ -625,7 +626,8 @@
|
||||
missing.append('spwd')
|
||||
|
||||
# select(2); not on ancient System V
|
||||
- exts.append( Extension('select', ['selectmodule.c']) )
|
||||
+ # selectmodule.c calls the ceil(3) math function
|
||||
+ exts.append( Extension('select', ['selectmodule.c'], libraries=math_libs) )
|
||||
|
||||
# Fred Drake's interface to the Python parser
|
||||
exts.append( Extension('parser', ['parsermodule.c']) )
|
||||
Reference in New Issue
Block a user