--- python-2.6.2.ebuild 2009-05-09 06:18:19.000000000 +0000 +++ python-2.6.2.ebuild.new 2009-05-09 08:21:58.000000000 +0000 @@ -66,6 +66,10 @@ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}" + # Compilation of the ctypes extension fails for archs that do not have FFI_CLOSURES. + # This fixes the compilation and makes ctypes also available to those archs. + epatch "${FILESDIR}"/${P}-enable-ctypes-module.patch + sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ Lib/distutils/command/install.py \ Lib/distutils/sysconfig.py \