summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2005-01-18 14:46:55 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2005-01-18 14:46:55 +0000
commitf8f839c5bc455a02a3e7b13c15e79a5c101c598a (patch)
tree8333ea3f0d366a09dffd07cba8e95aadb47d57a0 /media-gfx
parentstable on x86 (Manifest recommit) (diff)
downloadgentoo-2-f8f839c5bc455a02a3e7b13c15e79a5c101c598a.tar.gz
gentoo-2-f8f839c5bc455a02a3e7b13c15e79a5c101c598a.tar.bz2
gentoo-2-f8f839c5bc455a02a3e7b13c15e79a5c101c598a.zip
Fixed fpx compile problems
(Portage version: 2.0.51-r13)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imagemagick/ChangeLog6
-rw-r--r--media-gfx/imagemagick/files/imagemagick-6.1.8.8-fpx.patch11
-rw-r--r--media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild9
3 files changed, 21 insertions, 5 deletions
diff --git a/media-gfx/imagemagick/ChangeLog b/media-gfx/imagemagick/ChangeLog
index 82c17af01b58..bde2124eae53 100644
--- a/media-gfx/imagemagick/ChangeLog
+++ b/media-gfx/imagemagick/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/imagemagick
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.110 2005/01/17 21:41:37 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.111 2005/01/18 14:46:55 sekretarz Exp $
+
+ 18 Jan 2005; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/imagemagick-6.1.8.8-fpx.patch, imagemagick-6.1.8.8.ebuild:
+ Fixed fpx compile problems
*imagemagick-6.1.8.8 (17 Jan 2005)
diff --git a/media-gfx/imagemagick/files/imagemagick-6.1.8.8-fpx.patch b/media-gfx/imagemagick/files/imagemagick-6.1.8.8-fpx.patch
new file mode 100644
index 000000000000..f33d20a5a285
--- /dev/null
+++ b/media-gfx/imagemagick/files/imagemagick-6.1.8.8-fpx.patch
@@ -0,0 +1,11 @@
+--- ImageMagick-6.1.8/coders/fpx.c.orig 2005-01-14 02:07:46.000000000 +0100
++++ ImageMagick-6.1.8/coders/fpx.c 2005-01-18 15:34:54.452921808 +0100
+@@ -975,7 +975,7 @@
+ if (p == (const PixelPacket *) NULL)
+ break;
+ if (fpx_info.numberOfComponents == 1)
+- (void) ImportQuantumPixels(image,GrayQuantum,pixels);
++ (void) ImportQuantumPixels(image,GrayQuantum,0,pixels);
+ else
+ if (image->matte == MagickFalse)
+ (void) ImportQuantumPixels(image,RGBQuantum,0,pixels);
diff --git a/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild b/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild
index d7fd72f9c0e0..098ebf68f93b 100644
--- a/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild
+++ b/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild,v 1.3 2005/01/17 21:45:19 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.1.8.8.ebuild,v 1.4 2005/01/18 14:46:55 sekretarz Exp $
inherit libtool flag-o-matic eutils
@@ -15,7 +15,7 @@ SRC_URI="ftp://ftp.imagemagick.org/pub/${MY_PN}/${MY_P2}.tar.bz2"
LICENSE="as-is"
SLOT="0"
-# PLEASE BUMP AND UPDATE KEYWORDS OF dev-perl/perlmagick TO MATCH THIS. THANK YOU.
+# PLEASE BUMP AND UPDATE KEYWORDS OF dev-perl/perlmagick TO MATCH THIS. THANK YOU.
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="X cups jpeg lcms mpeg png truetype tiff xml2 wmf jbig perl graphviz fpx"
@@ -45,6 +45,7 @@ src_unpack() {
cd ${S}
chmod +x config.sub
+ epatch ${FILESDIR}/${P}-fpx.patch
}
src_compile() {
@@ -78,10 +79,10 @@ src_compile() {
src_install() {
make DESTDIR=${D} install
- # bug 69705
+ #bug 69705
rm -f ${D}/usr/lib/libltdl*
- # bug 73464
+ #bug 73464
rm -f ${D}/usr/lib/perl5/5.8.6/x86_64-linux/perllocal.pod
dosed "s:-I/usr/include ::" /usr/bin/Magick-config