| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- Index: Include/code.h
- --- Include/code.h.orig 2006-05-23 12:37:38 +0200
- +++ Include/code.h 2006-11-03 19:29:53 +0100
- @@ -52,7 +52,7 @@
- /* This should be defined if a future statement modifies the syntax.
- For example, when a keyword is added.
- */
- -#define PY_PARSER_REQUIRES_FUTURE_KEYWORD
- +#undef PY_PARSER_REQUIRES_FUTURE_KEYWORD
-
- #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */
-
- Index: Include/pyport.h
- --- Include/pyport.h.orig 2006-06-10 14:23:46 +0200
- +++ Include/pyport.h 2006-11-03 19:29:10 +0100
- @@ -370,8 +370,12 @@
- * config to #define Py_HUGE_VAL to something that works on your platform.
- */
- #ifndef Py_HUGE_VAL
- +#if defined (__SVR4) && defined (__sun)
- +#define Py_HUGE_VAL HUGE
- +#else
- #define Py_HUGE_VAL HUGE_VAL
- #endif
- +#endif
-
- /* Py_OVERFLOWED(X)
- * Return 1 iff a libm function overflowed. Set errno to 0 before calling
- Index: Modules/_ctypes/libffi/configure
- --- Modules/_ctypes/libffi/configure.orig 2006-08-14 18:17:41 +0200
- +++ Modules/_ctypes/libffi/configure 2006-11-03 19:29:10 +0100
- @@ -3516,7 +3516,7 @@
- cris-*-*) TARGET=LIBFFI_CRIS; TARGETDIR=cris;;
- s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
- s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
- -x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
- +x86_64-*-linux* | amd64-*-freebsd* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
- sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
- sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
- sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
- Index: configure
- --- configure.orig 2006-09-05 04:54:42 +0200
- +++ configure 2006-11-03 19:29:10 +0100
- @@ -3800,11 +3800,11 @@
- # debug builds.
- OPT="-g -Wall $STRICT_PROTO"
- else
- - OPT="-g -O3 -Wall $STRICT_PROTO"
- + OPT="-g -O2 -Wall $STRICT_PROTO"
- fi
- ;;
- *)
- - OPT="-O3 -Wall $STRICT_PROTO"
- + OPT="-O2 -Wall $STRICT_PROTO"
- ;;
- esac
- case $ac_sys_system in
- @@ -11136,7 +11136,7 @@
- then
- LINKFORSHARED="-Wl,--export-dynamic"
- fi;;
- - SunOS/5*) case $CC in
- + SunOS/5*) case gcc in
- *gcc*)
- if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
- then
- Index: setup.py
- --- setup.py.orig 2006-08-10 01:42:18 +0200
- +++ setup.py 2006-11-03 19:29:10 +0100
- @@ -244,8 +244,8 @@
-
- def detect_modules(self):
- # Ensure that /usr/local is always used
- - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
- - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
- +
- +
-
- # Add paths specified in the environment variables LDFLAGS and
- # CPPFLAGS for header and library files.
- @@ -520,8 +520,6 @@
- depends = ['socketmodule.h']) )
- # Detect SSL support for the socket module (via _ssl)
- search_for_ssl_incs_in = [
- - '/usr/local/ssl/include',
- - '/usr/contrib/ssl/include/'
- ]
- ssl_incs = find_file('openssl/ssl.h', inc_dirs,
- search_for_ssl_incs_in
- @@ -532,8 +530,7 @@
- if krb5_h:
- ssl_incs += krb5_h
- ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
- - ['/usr/local/ssl/lib',
- - '/usr/contrib/ssl/lib/'
- + [
- ] )
-
- if (ssl_incs is not None and
- @@ -614,11 +611,9 @@
- # top of the normal inc_dirs.
- db_inc_paths = [
- '/usr/include/db4',
- - '/usr/local/include/db4',
- '/opt/sfw/include/db4',
- '/sw/include/db4',
- '/usr/include/db3',
- - '/usr/local/include/db3',
- '/opt/sfw/include/db3',
- '/sw/include/db3',
- ]
- @@ -1223,6 +1218,7 @@
- dotversion = dotversion[:-1] + '.' + dotversion[-1]
- tcl_include_sub = []
- tk_include_sub = []
- + dotversion = ''
- for dir in inc_dirs:
- tcl_include_sub += [dir + os.sep + "tcl" + dotversion]
- tk_include_sub += [dir + os.sep + "tk" + dotversion]
|