summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/luminance-hdr/ChangeLog6
-rw-r--r--media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch10
-rw-r--r--media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild4
3 files changed, 18 insertions, 2 deletions
diff --git a/media-gfx/luminance-hdr/ChangeLog b/media-gfx/luminance-hdr/ChangeLog
index 7c0668d4d5bc..69ddd34842d3 100644
--- a/media-gfx/luminance-hdr/ChangeLog
+++ b/media-gfx/luminance-hdr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/luminance-hdr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.8 2011/08/26 10:42:26 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.9 2011/09/23 23:32:01 radhermit Exp $
+
+ 23 Sep 2011; Tim Harder <radhermit@gentoo.org> luminance-hdr-2.1.0.ebuild,
+ +files/luminance-hdr-2.1.0-libraw.patch:
+ Fix build with libraw-0.14.0 (bug #384191).
*luminance-hdr-2.1.0 (26 Aug 2011)
diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch
new file mode 100644
index 000000000000..8472a7422221
--- /dev/null
+++ b/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch
@@ -0,0 +1,10 @@
+--- luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp.orig
++++ luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp
+@@ -94,7 +94,6 @@
+ RawProcessor.set_progress_handler(cb, callback_data);
+ int ret;
+
+- OUT.filtering_mode = LIBRAW_FILTERING_AUTOMATIC;
+ OUT.output_bps = 16;
+
+ //OUT.gamm[0] = 1/2.4; //sRGB
diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild
index 884fec62a86f..26c9cc7e6f7b 100644
--- a/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild,v 1.1 2011/08/26 10:42:26 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild,v 1.2 2011/09/23 23:32:01 radhermit Exp $
EAPI="4"
@@ -48,6 +48,8 @@ src_prepare() {
if ! use openmp ; then
sed -i -e '/-fopenmp/d' project.pro || die
fi
+
+ epatch "${FILESDIR}"/${P}-libraw.patch
}
src_configure() {