summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-10-10 18:44:52 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-10-10 18:44:52 +0000
commit225a105fed9c067275975940883f0e794dfe7701 (patch)
treebb70effc453f42145f86b410228f0d374ce27b11 /media-gfx/lprof
parentBump to 7.4 (bug #194269) (diff)
downloadgentoo-2-225a105fed9c067275975940883f0e794dfe7701.tar.gz
gentoo-2-225a105fed9c067275975940883f0e794dfe7701.tar.bz2
gentoo-2-225a105fed9c067275975940883f0e794dfe7701.zip
Fix building with lcms-1.17 thanks to Hal Engel <hvengel@astound.net> in bug 190925
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-gfx/lprof')
-rw-r--r--media-gfx/lprof/ChangeLog7
-rw-r--r--media-gfx/lprof/files/lcms-1.17.patch12
-rw-r--r--media-gfx/lprof/lprof-1.11.4.1.ebuild14
3 files changed, 29 insertions, 4 deletions
diff --git a/media-gfx/lprof/ChangeLog b/media-gfx/lprof/ChangeLog
index bb6122617a32..21832914511b 100644
--- a/media-gfx/lprof/ChangeLog
+++ b/media-gfx/lprof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/lprof
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/lprof/ChangeLog,v 1.11 2007/02/22 01:35:31 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/lprof/ChangeLog,v 1.12 2007/10/10 18:44:52 genstef Exp $
+
+ 10 Oct 2007; Stefan Schweizer <genstef@gentoo.org> +files/lcms-1.17.patch,
+ lprof-1.11.4.1.ebuild:
+ Fix building with lcms-1.17 thanks to Hal Engel <hvengel@astound.net> in bug
+ 190925
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-gfx/lprof/files/lcms-1.17.patch b/media-gfx/lprof/files/lcms-1.17.patch
new file mode 100644
index 000000000000..55afdfbb8dd2
--- /dev/null
+++ b/media-gfx/lprof/files/lcms-1.17.patch
@@ -0,0 +1,12 @@
+--- src/liblprof/lcmsprf.h.bak 2007-08-31 15:36:20.000000000 -0700
++++ src/liblprof/lcmsprf.h 2007-08-31 15:37:39.000000000 -0700
+@@ -67,6 +67,9 @@
+ #define mmax(a,b) ((a) > (b)?(a):(b))
+ #endif
+
++#if LCMS_VERSION > 116
++typedef int BOOL;
++#endif
+
+ /* Misc operations ------------------------------------------------------------------------ */
+
diff --git a/media-gfx/lprof/lprof-1.11.4.1.ebuild b/media-gfx/lprof/lprof-1.11.4.1.ebuild
index 088b8423f552..8c9d41b09d4b 100644
--- a/media-gfx/lprof/lprof-1.11.4.1.ebuild
+++ b/media-gfx/lprof/lprof-1.11.4.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/lprof/lprof-1.11.4.1.ebuild,v 1.1 2006/08/12 19:57:04 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/lprof/lprof-1.11.4.1.ebuild,v 1.2 2007/10/10 18:44:52 genstef Exp $
+
+inherit eutils
DESCRIPTION="Little CMS ICC profile construction set"
HOMEPAGE="http://lprof.sourceforge.net/"
@@ -16,11 +18,17 @@ RDEPEND="=x11-libs/qt-3*
DEPEND="${RDEPEND}
dev-lang/python"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/lcms-1.17.patch
+}
+
src_compile() {
./scons.py ${MAKEOPTS} PREFIX=/usr || die "scons failed"
}
src_install() {
dodoc README KNOWN_BUGS
- ./scons.py PREFIX=${D}/usr install || die "scons install failed"
+ ./scons.py PREFIX="${D}"/usr install || die "scons install failed"
}