summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-10-29 08:53:04 +0000
committerRémi Cardona <remi@gentoo.org>2008-10-29 08:53:04 +0000
commit6787a60ffd623d87eff4c4c195e2ccd405ef8198 (patch)
tree2bb179da5822699c18727075af99fc30bc8d8ead /media-libs/libopenraw
parentAdd dev-perl/DateManip dependency (#244859) (diff)
downloadgentoo-2-6787a60ffd623d87eff4c4c195e2ccd405ef8198.tar.gz
gentoo-2-6787a60ffd623d87eff4c4c195e2ccd405ef8198.tar.bz2
gentoo-2-6787a60ffd623d87eff4c4c195e2ccd405ef8198.zip
media-libs/libopenraw: include <cstrings> for bcopy (fixes bug #243200)
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1 x86_64)
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r--media-libs/libopenraw/ChangeLog6
-rw-r--r--media-libs/libopenraw/files/libopenraw-0.0.5-ljpegdcompressor.patch11
-rw-r--r--media-libs/libopenraw/libopenraw-0.0.5.ebuild9
3 files changed, 24 insertions, 2 deletions
diff --git a/media-libs/libopenraw/ChangeLog b/media-libs/libopenraw/ChangeLog
index db80305c3f1b..739c9be8e178 100644
--- a/media-libs/libopenraw/ChangeLog
+++ b/media-libs/libopenraw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libopenraw
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/ChangeLog,v 1.32 2008/09/28 15:15:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/ChangeLog,v 1.33 2008/10/29 08:53:04 remi Exp $
+
+ 29 Oct 2008; Rémi Cardona <remi@gentoo.org>
+ +files/libopenraw-0.0.5-ljpegdcompressor.patch, libopenraw-0.0.5.ebuild:
+ include <cstrings> for bcopy (fixes bug #243200)
28 Sep 2008; Raúl Porcel <armin76@gentoo.org> libopenraw-0.0.5.ebuild:
arm stable wrt #217148
diff --git a/media-libs/libopenraw/files/libopenraw-0.0.5-ljpegdcompressor.patch b/media-libs/libopenraw/files/libopenraw-0.0.5-ljpegdcompressor.patch
new file mode 100644
index 000000000000..61a952ada56c
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.0.5-ljpegdcompressor.patch
@@ -0,0 +1,11 @@
+diff -ru libopenraw-0.0.5.orig/lib/ljpegdecompressor.cpp libopenraw-0.0.5/lib/ljpegdecompressor.cpp
+--- libopenraw-0.0.5.orig/lib/ljpegdecompressor.cpp 2008-10-22 12:55:51.531884824 +0200
++++ libopenraw-0.0.5/lib/ljpegdecompressor.cpp 2008-10-22 12:56:12.307787951 +0200
+@@ -55,6 +55,7 @@
+ #include <boost/scoped_array.hpp>
+ #include <boost/format.hpp>
+
++#include <cstring>
+ #include <libopenraw++/rawdata.h>
+ #include "io/memstream.h"
+ #include "debug.h"
diff --git a/media-libs/libopenraw/libopenraw-0.0.5.ebuild b/media-libs/libopenraw/libopenraw-0.0.5.ebuild
index 97c8797c28b5..b07f510fea3d 100644
--- a/media-libs/libopenraw/libopenraw-0.0.5.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.0.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.5.ebuild,v 1.8 2008/09/28 15:15:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.5.ebuild,v 1.9 2008/10/29 08:53:04 remi Exp $
+
+inherit eutils
DESCRIPTION="Decoding library for RAW image formats"
HOMEPAGE="http://libopenraw.freedesktop.org"
@@ -19,6 +21,11 @@ RDEPEND="dev-libs/boost
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${P}-ljpegdcompressor.patch"
+}
+
src_compile() {
econf --disable-dependency-tracking $(use_enable gtk gnome)
emake || die "emake failed."