diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-18 00:05:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-18 00:05:37 +0000 |
commit | 8de391a8ce04407382dc7ca4560d00e3485f96ca (patch) | |
tree | 2f3a8c087f5399f3ac4596cb9b1ae034ef3af61f /media-libs | |
parent | old (diff) | |
download | gentoo-2-8de391a8ce04407382dc7ca4560d00e3485f96ca.tar.gz gentoo-2-8de391a8ce04407382dc7ca4560d00e3485f96ca.tar.bz2 gentoo-2-8de391a8ce04407382dc7ca4560d00e3485f96ca.zip |
Fix PIC patch as pointed out by Peter Beutner in #102519.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/imlib2/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/imlib2/files/digest-imlib2-1.2.0.007-r2 | 1 | ||||
-rw-r--r-- | media-libs/imlib2/files/imlib2-PIC.patch | 2 | ||||
-rw-r--r-- | media-libs/imlib2/imlib2-1.2.0.007-r2.ebuild | 49 |
4 files changed, 58 insertions, 2 deletions
diff --git a/media-libs/imlib2/ChangeLog b/media-libs/imlib2/ChangeLog index 9850cea46c97..a2a664dec7a4 100644 --- a/media-libs/imlib2/ChangeLog +++ b/media-libs/imlib2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/imlib2 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/ChangeLog,v 1.42 2005/08/13 07:59:16 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/ChangeLog,v 1.43 2005/08/18 00:05:37 vapier Exp $ + +*imlib2-1.2.0.007-r2 (18 Aug 2005) + + 18 Aug 2005; Mike Frysinger <vapier@gentoo.org> files/imlib2-PIC.patch, + +imlib2-1.2.0.007-r2.ebuild: + Fix PIC patch as pointed out by Peter Beutner in #102519. 13 Aug 2005; Fabian Groffen <grobian@gentoo.org> imlib2-1.1.2.ebuild: Marked stable on ppc-macos diff --git a/media-libs/imlib2/files/digest-imlib2-1.2.0.007-r2 b/media-libs/imlib2/files/digest-imlib2-1.2.0.007-r2 new file mode 100644 index 000000000000..e451ab0695d6 --- /dev/null +++ b/media-libs/imlib2/files/digest-imlib2-1.2.0.007-r2 @@ -0,0 +1 @@ +MD5 fb97ddb3ece42138f4cfb2531345de4a imlib2-1.2.0.007.tar.gz 887615 diff --git a/media-libs/imlib2/files/imlib2-PIC.patch b/media-libs/imlib2/files/imlib2-PIC.patch index 4c58460c77d4..3dcde8c284b0 100644 --- a/media-libs/imlib2/files/imlib2-PIC.patch +++ b/media-libs/imlib2/files/imlib2-PIC.patch @@ -575,7 +575,7 @@ - movq m_g6, %mm6 + LOAD_IMMQ(m_rb, %mm5) + LOAD_IMMQ(m_g6, %mm6) -+ CLEANUP_IMMQ_LOADS(1) ++ CLEANUP_IMMQ_LOADS(2) LOOP_START diff --git a/media-libs/imlib2/imlib2-1.2.0.007-r2.ebuild b/media-libs/imlib2/imlib2-1.2.0.007-r2.ebuild new file mode 100644 index 000000000000..efe3798e61ea --- /dev/null +++ b/media-libs/imlib2/imlib2-1.2.0.007-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.0.007-r2.ebuild,v 1.1 2005/08/18 00:05:37 vapier Exp $ + +EKEY_STATE=snap +inherit enlightenment + +MY_P=${P/_/-} +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" +HOMEPAGE="http://www.enlightenment.org/Libraries/Imlib2.html" + +IUSE="X gif jpeg mmx png tiff" + +DEPEND="=media-libs/freetype-2* + gif? ( >=media-libs/giflib-4.1.0 ) + png? ( >=media-libs/libpng-1.2.1 ) + jpeg? ( media-libs/jpeg ) + tiff? ( >=media-libs/tiff-3.5.5 ) + X? ( virtual/x11 )" + +src_unpack() { + enlightenment_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${P}-x-typo.patch + epatch "${FILESDIR}"/imlib-1.2.0-bounds-check.patch + epatch "${FILESDIR}"/imlib2-PIC.patch +} + +src_compile() { + local mymmx="" + if [[ ${ARCH} == "amd64" ]] ; then + mymmx="--disable-mmx --disable-amd64" + [[ ${PV} != "1.2.0.007" ]] && die "revisit amd64 check" + else + mymmx="$(use_enable mmx)" + fi + + export MY_ECONF=" + ${mymmx} \ + $(use_with X x) \ + " + enlightenment_src_compile +} + +src_install() { + enlightenment_src_install + docinto samples + dodoc demo/*.c +} |