diff options
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r-- | dev-util/mingw64-runtime/files/mingw64-runtime-20091222-mm_shuffle_ps-x86.patch | 13 | ||||
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-20091222.ebuild | 72 |
2 files changed, 0 insertions, 85 deletions
diff --git a/dev-util/mingw64-runtime/files/mingw64-runtime-20091222-mm_shuffle_ps-x86.patch b/dev-util/mingw64-runtime/files/mingw64-runtime-20091222-mm_shuffle_ps-x86.patch deleted file mode 100644 index cedbcac92394..000000000000 --- a/dev-util/mingw64-runtime/files/mingw64-runtime-20091222-mm_shuffle_ps-x86.patch +++ /dev/null @@ -1,13 +0,0 @@ -fix from upstream - ---- trunk/mingw-w64-headers/crt/intrin.h 2009/11/10 15:45:03 1517 -+++ trunk/mingw-w64-headers/crt/intrin.h 2009/12/23 12:31:10 1672 -@@ -582,7 +582,7 @@ - __MACHINEX86X_NOWIN64(__m64 _mm_cvtt_ps2pi(__m128)) - __MACHINEX86X_NOIA64(__m128 _mm_cvt_si2ss(__m128,int)) - __MACHINEX86X_NOWIN64(__m128 _mm_cvt_pi2ps(__m128,__m64)) -- __MACHINEX86X_NOIA64(__m128 _mm_shuffle_ps(__m128,__m128,unsigned int)) -+ __MACHINEX86X_NOIA64(__m128 _mm_shuffle_ps(__m128,__m128,int const)) - __MACHINEX86X_NOIA64(__m128 _mm_unpackhi_ps(__m128,__m128)) - __MACHINEX86X_NOIA64(__m128 _mm_unpacklo_ps(__m128,__m128)) - __MACHINEX86X_NOIA64(__m128 _mm_loadh_pi(__m128,__m64 const*)) diff --git a/dev-util/mingw64-runtime/mingw64-runtime-20091222.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-20091222.ebuild deleted file mode 100644 index 4405e44c3f33..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-20091222.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-20091222.ebuild,v 1.3 2010/01/12 19:52:42 vapier Exp $ - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi - -inherit flag-o-matic eutils - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="http://mingw-w64.sourceforge.net/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-trunk-snapshot-${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only" -RESTRICT="strip" - -S=${WORKDIR}/trunk/mingw-w64-crt - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-mm_shuffle_ps-x86.patch #298087 -} - -src_compile() { - # install the local headers as the crt step wants latest - pushd ../mingw-w64-headers >/dev/null - # directx sdk triggers failure, see upstream #2919341 - CHOST=${CTARGET} econf --enable-sdk=ddk || die - emake install DESTDIR="${WORKDIR}/sysroot" || die - popd >/dev/null - - just_headers && return 0 - - CHOST=${CTARGET} strip-unsupported-flags - append-cppflags -isystem "${WORKDIR}/sysroot/usr/${CTARGET}/include" - CHOST=${CTARGET} econf || die - emake || die -} - -src_install() { - insinto /usr/${CTARGET}/usr/include - doins -r "${WORKDIR}"/sysroot/usr/${CTARGET}/include/* || die - is_crosscompile \ - && dosym usr /usr/${CTARGET}/${CTARGET} \ - && dosym usr/include /usr/${CTARGET}/sys-include - just_headers && return 0 - - emake install DESTDIR="${D}" || die - env -uRESTRICT CHOST=${CTARGET} prepallstrip - rm -rf "${D}"/usr/doc -} |