Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 268887 | Differences between
and this patch

Collapse All | Expand All

(-)python-2.5.2-r8.ebuild.old (+19 lines)
Lines 62-73 Link Here
62
	else
62
	else
63
		rm "${WORKDIR}/${PV}"/*_all_crosscompile.patch
63
		rm "${WORKDIR}/${PV}"/*_all_crosscompile.patch
64
	fi
64
	fi
65
	
66
	# Compilation of the ctypes extension fails for archs that do not have FFI_CLOSURES.
67
	# This fixes the compilation and makes ctypes also available to those archs.
68
	epatch "${FILESDIR}"/python-2.5.2-cross-enable-ctypes-module.patch
65
69
66
	#Fixes some of the tr_TR locale issues. Bug #250075. Thanks Serkan for pointing it
70
	#Fixes some of the tr_TR locale issues. Bug #250075. Thanks Serkan for pointing it
67
	#out
71
	#out
68
	epatch "${FILESDIR}/${P}_turkish.patch"
72
	epatch "${FILESDIR}/${P}_turkish.patch"
69
73
70
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
74
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
75
76
	# We must put the following patches AFTER the patch-bomb above, because they were generated afterwards
77
	if tc-is-cross-compiler ; then
78
		# Change setup.py to respect the SYSROOT environment variable
79
		epatch "${FILESDIR}/python-2.5.2-cross-setup-sysroot.patch"
80
	fi
81
82
	# Add a libdirname to enable python cross-compiling and add a user specifyable libdir
83
	epatch "${FILESDIR}/python-2.5.2-cross-Makefile.pre.in.patch"
84
	# Make distutils cross-compile aware
85
	epatch "${FILESDIR}/python-2.5.2-cross-distutils-sysconfig.patch"
86
	epatch "${FILESDIR}/python-2.5.2-cross-distutils-build_ext.patch"
87
	epatch "${FILESDIR}/python-2.5.2-cross-distutils-install.patch"
88
89
	# Put in the correct library directory name for the current arch.
71
	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
90
	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
72
		Lib/distutils/command/install.py \
91
		Lib/distutils/command/install.py \
73
		Lib/distutils/sysconfig.py \
92
		Lib/distutils/sysconfig.py \

Return to bug 268887