Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages In directory vz-cvs-3.sog:/tmp/cvs-serv32754/stable/main/finkinfo/languages
Modified Files: python26-2.6.6.info python26-2.6.6.patch python26.info python26.patch Log Message: build ctypes with -O0 to avoid clang bug (per [Fink-devel] python26-2.6.7-2 test failure) Index: python26.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/python26.patch,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- python26.patch 2 Jan 2012 19:43:38 -0000 1.7 +++ python26.patch 7 Jan 2012 21:26:49 -0000 1.8 @@ -563,3 +563,13 @@ tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version) tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version) if tklib and tcllib: +@@ -1894,7 +1846,8 @@ + sources=sources, + depends=depends) + ext_test = Extension('_ctypes_test', +- sources=['_ctypes/_ctypes_test.c']) ++ sources=['_ctypes/_ctypes_test.c'], ++ extra_compile_args=['-O0']) + self.extensions.extend([ext, ext_test]) + + if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"): Index: python26-2.6.6.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/python26-2.6.6.info,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- python26-2.6.6.info 2 Jan 2012 19:43:38 -0000 1.2 +++ python26-2.6.6.info 7 Jan 2012 21:26:49 -0000 1.3 @@ -1,7 +1,7 @@ Info2: << Package: python%type_pkg[python] Version: 2.6.6 -Revision: 3 +Revision: 4 Epoch: 1 Type: python 2.6 Maintainer: Daniel Macks <dma...@netspace.org> @@ -40,7 +40,7 @@ Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2 Source2-MD5: d963121537cd6e295ef91301b660633a PatchFile: %n-%v.patch -PatchFile-MD5: 3493a12459bffe7c4a56d51bac5d2eec +PatchFile-MD5: 55fbf4a4b5ef14312ca6912ef32cbd2c PatchScript: << sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 << @@ -186,6 +186,9 @@ Fix language-encoding bug for japanese locale. See: https://trac.macports.org/attachment/ticket/21517/patch-locale-from-apple-darwinsource.diff + test_ctypes fails with clang unless _ctypes/_ctypes_test.c is built + with -O0 so force that in setup.py. + Patch ctypes to look in %p/lib for libraries. << License: OSI-Approved Index: python26-2.6.6.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/python26-2.6.6.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- python26-2.6.6.patch 2 Jan 2012 19:43:38 -0000 1.2 +++ python26-2.6.6.patch 7 Jan 2012 21:26:49 -0000 1.3 @@ -563,3 +563,13 @@ tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version) tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version) if tklib and tcllib: +@@ -1894,7 +1846,8 @@ + sources=sources, + depends=depends) + ext_test = Extension('_ctypes_test', +- sources=['_ctypes/_ctypes_test.c']) ++ sources=['_ctypes/_ctypes_test.c'], ++ extra_compile_args=['-O0']) + self.extensions.extend([ext, ext_test]) + + if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"): Index: python26.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/python26.info,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- python26.info 2 Jan 2012 19:43:38 -0000 1.10 +++ python26.info 7 Jan 2012 21:26:49 -0000 1.11 @@ -3,7 +3,7 @@ # 2.6.7 fails self-tests on 10.6/i386 Version: 2.6.7 -Revision: 2 +Revision: 3 Epoch: 1 Architecture: x86_64 @@ -44,7 +44,7 @@ Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2 Source2-MD5: a2fc12049840d5c66262c546cdf241fd PatchFile: %n.patch -PatchFile-MD5: 5182d3734839b54639f7d858b26273c9 +PatchFile-MD5: 2e43e88d12881ad926bd0da58e9832de PatchScript: << sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 << @@ -193,6 +193,9 @@ Fix language-encoding bug for japanese locale. See: https://trac.macports.org/attachment/ticket/21517/patch-locale-from-apple-darwinsource.diff + test_ctypes fails with clang unless _ctypes/_ctypes_test.c is built + with -O0 so force that in setup.py. + Patch ctypes to look in %p/lib for libraries. << License: OSI-Approved ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs