Only in .: autom4te.cache diff -u -r ../../compare/Python-3.4.1/configure ./configure --- ../../compare/Python-3.4.1/configure 2014-05-19 00:19:40.000000000 -0500 +++ ./configure 2014-10-27 14:07:24.997248681 -0500 @@ -15400,6 +15400,15 @@ $as_echo "$ENSUREPIP" >&6; } +ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" "#include +" +if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then : + +$as_echo "#define HAVE_PASSWD_GECOS_FIELD 1" >>confdefs.h + +fi + + # generate output files ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python.pc Misc/python-config.sh" diff -u -r ../../compare/Python-3.4.1/configure.ac ./configure.ac --- ../../compare/Python-3.4.1/configure.ac 2014-05-19 00:19:40.000000000 -0500 +++ ./configure.ac 2014-10-27 14:06:12.334076385 -0500 @@ -4795,6 +4795,11 @@ AC_MSG_RESULT($ENSUREPIP) AC_SUBST(ENSUREPIP) +AC_CHECK_MEMBER([struct passwd.pw_gecos], + [AC_DEFINE(HAVE_PASSWD_GECOS_FIELD, 1, [Define if defines field passwd.pw_gecos])], + [], + [[#include ]]) + # generate output files AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc Misc/python-config.sh) AC_CONFIG_FILES([Modules/ld_so_aix], [chmod +x Modules/ld_so_aix]) Only in .: configure.ac.orig Only in .: configure.orig Only in .: configure.rej Only in .: fixed-pythonrun.c Only in ./Lib/collections: __pycache__ Only in ./Lib/distutils/command: __pycache__ Only in ./Lib/distutils: __pycache__ Only in ./Lib/email: __pycache__ Only in ./Lib/encodings: __pycache__ Only in ./Lib/importlib: __pycache__ Only in ./Lib/lib2to3/pgen2: __pycache__ Only in ./Lib/lib2to3: __pycache__ Only in ./Lib/logging: __pycache__ Only in ./Lib: __pycache__ diff -u -r ../../compare/Python-3.4.1/Modules/pwdmodule.c ./Modules/pwdmodule.c --- ../../compare/Python-3.4.1/Modules/pwdmodule.c 2014-05-19 00:19:39.000000000 -0500 +++ ./Modules/pwdmodule.c 2014-10-27 14:06:12.330076363 -0500 @@ -72,7 +72,12 @@ SETS(setIndex++, p->pw_passwd); PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromUid(p->pw_uid)); PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromGid(p->pw_gid)); +#if defined(HAVE_PASSWD_GECOS_FIELD) SETS(setIndex++, p->pw_gecos); +#else + SETS(setIndex++, Py_None); + Py_INCREF(Py_None); +#endif SETS(setIndex++, p->pw_dir); SETS(setIndex++, p->pw_shell); Only in ./Modules: pwdmodule.c.orig Only in .: no_langinfo_during_init.patch diff -u -r ../../compare/Python-3.4.1/pyconfig.h.in ./pyconfig.h.in --- ../../compare/Python-3.4.1/pyconfig.h.in 2014-05-19 00:19:40.000000000 -0500 +++ ./pyconfig.h.in 2014-10-27 14:07:25.000000000 -0500 @@ -609,6 +609,9 @@ /* Define if compiling using MacOS X 10.5 SDK or later. */ #undef HAVE_OSX105_SDK +/* Define if defines field passwd.pw_gecos */ +#undef HAVE_PASSWD_GECOS_FIELD + /* Define to 1 if you have the `pathconf' function. */ #undef HAVE_PATHCONF Only in .: pyconfig.h.in~ diff -u -r ../../compare/Python-3.4.1/Python/pythonrun.c ./Python/pythonrun.c --- ../../compare/Python-3.4.1/Python/pythonrun.c 2014-05-19 00:19:40.000000000 -0500 +++ ./Python/pythonrun.c 2014-10-27 15:53:16.956449833 -0500 @@ -260,15 +260,14 @@ return get_codec_name(codepage); #elif defined(HAVE_LANGINFO_H) && defined(CODESET) char* codeset = nl_langinfo(CODESET); +#else + char codeset[] = "ASCII"; +#endif if (!codeset || codeset[0] == '\0') { PyErr_SetString(PyExc_ValueError, "CODESET is not set or empty"); return NULL; } return get_codec_name(codeset); -#else - PyErr_SetNone(PyExc_NotImplementedError); - return NULL; -#endif } static void Only in ./Python: pythonrun.c~ diff -u -r ../../compare/Python-3.4.1/setup.py ./setup.py --- ../../compare/Python-3.4.1/setup.py 2014-05-19 00:19:40.000000000 -0500 +++ ./setup.py 2014-10-27 14:24:33.413477001 -0500 @@ -568,7 +568,8 @@ libraries=math_libs) ) # time libraries: librt may be needed for clock_gettime() - time_libs = [] + # floatsleep() needs math_libs for fmod() and floor() + time_libs = list(math_libs) lib = sysconfig.get_config_var('TIMEMODULE_LIB') if lib: time_libs.append(lib) @@ -625,7 +626,9 @@ missing.append('spwd') # select(2); not on ancient System V - exts.append( Extension('select', ['selectmodule.c']) ) + # pyepoll_poll needs math_libs for ceil() + exts.append( Extension('select', ['selectmodule.c'], + libraries=math_libs) ) # Fred Drake's interface to the Python parser exts.append( Extension('parser', ['parsermodule.c']) ) @@ -649,7 +652,10 @@ # Operations on audio samples # According to #993173, this one should actually work fine on # 64-bit platforms. - exts.append( Extension('audioop', ['audioop.c']) ) + + # audioop needs math_libs for floor() in multiple functions. + exts.append( Extension('audioop', ['audioop.c'], + libraries=math_libs) ) # readline do_readline = self.compiler.find_library_file(lib_dirs, 'readline') @@ -1919,8 +1925,10 @@ libraries=[], sources=sources, depends=depends) + # function my_sqrt() needs math library for sqrt() ext_test = Extension('_ctypes_test', - sources=['_ctypes/_ctypes_test.c']) + sources=['_ctypes/_ctypes_test.c'], + libraries=['m']) self.extensions.extend([ext, ext_test]) if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"): Only in .: setup.py.orig Only in .: time_select_audioop_ctypes_test_link_with_libm.patch