summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2009-04-29 09:10:31 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2009-04-29 09:10:31 +0000
commitbdad6f0d72af1e0634ddcd8b5cc9c3ca0096604e (patch)
tree01e58b12c8de685146ea5d7a50f8db0acc53022f /media-libs/libopenraw
parentDrop tools useflag by default. Pulls in too many external deps. (diff)
downloadgentoo-2-bdad6f0d72af1e0634ddcd8b5cc9c3ca0096604e.tar.gz
gentoo-2-bdad6f0d72af1e0634ddcd8b5cc9c3ca0096604e.tar.bz2
gentoo-2-bdad6f0d72af1e0634ddcd8b5cc9c3ca0096604e.zip
Bump to 0.0.7, and fix bug 262248
(Portage version: 2.2_rc31/cvs/Linux i686)
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r--media-libs/libopenraw/ChangeLog9
-rw-r--r--media-libs/libopenraw/files/libopenraw-0.0.7-fix-includes-gcc-4.4.patch34
-rw-r--r--media-libs/libopenraw/libopenraw-0.0.7.ebuild (renamed from media-libs/libopenraw/libopenraw-0.0.6.ebuild)8
3 files changed, 48 insertions, 3 deletions
diff --git a/media-libs/libopenraw/ChangeLog b/media-libs/libopenraw/ChangeLog
index 266d85bf0ce3..b70fa8e8ea76 100644
--- a/media-libs/libopenraw/ChangeLog
+++ b/media-libs/libopenraw/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libopenraw
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/ChangeLog,v 1.34 2009/03/15 12:00:30 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/ChangeLog,v 1.35 2009/04/29 09:10:31 nirbheek Exp $
+
+*libopenraw-0.0.7 (29 Apr 2009)
+
+ 29 Apr 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +files/libopenraw-0.0.7-fix-includes-gcc-4.4.patch,
+ -libopenraw-0.0.6.ebuild, +libopenraw-0.0.7.ebuild:
+ Bump to 0.0.7, and fix bug 262248
*libopenraw-0.0.6 (15 Mar 2009)
diff --git a/media-libs/libopenraw/files/libopenraw-0.0.7-fix-includes-gcc-4.4.patch b/media-libs/libopenraw/files/libopenraw-0.0.7-fix-includes-gcc-4.4.patch
new file mode 100644
index 000000000000..7eab5d940942
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.0.7-fix-includes-gcc-4.4.patch
@@ -0,0 +1,34 @@
+diff -ru libopenraw-0.0.6.orig/demo/cfa.cpp libopenraw-0.0.6/demo/cfa.cpp
+--- libopenraw-0.0.6.orig/demo/cfa.cpp 2009-04-29 08:35:35.000000000 +0200
++++ libopenraw-0.0.6/demo/cfa.cpp 2009-04-29 08:36:13.000000000 +0200
+@@ -20,6 +20,7 @@
+
+
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <iostream>
+ #include <libopenraw/libopenraw.h>
+ #include <libopenraw/debug.h>
+diff -ru libopenraw-0.0.6.orig/demo/thumb.cpp libopenraw-0.0.6/demo/thumb.cpp
+--- libopenraw-0.0.6.orig/demo/thumb.cpp 2009-04-29 08:35:35.000000000 +0200
++++ libopenraw-0.0.6/demo/thumb.cpp 2009-04-29 08:36:41.000000000 +0200
+@@ -19,7 +19,7 @@
+ */
+
+
+-
++#include <stdio.h>
+ #include <iostream>
+ #include <libopenraw/libopenraw.h>
+ #include <libopenraw/debug.h>
+diff -ru libopenraw-0.0.6.orig/include/libopenraw/consts.h libopenraw-0.0.6/include/libopenraw/consts.h
+--- libopenraw-0.0.6.orig/include/libopenraw/consts.h 2009-04-29 08:35:35.000000000 +0200
++++ libopenraw-0.0.6/include/libopenraw/consts.h 2009-04-29 08:37:03.000000000 +0200
+@@ -31,6 +31,7 @@
+ extern "C" {
+ #endif
+
++#include <inttypes.h>
+
+ /**
+ * Error codes returned by libopenraw.
diff --git a/media-libs/libopenraw/libopenraw-0.0.6.ebuild b/media-libs/libopenraw/libopenraw-0.0.7.ebuild
index 2dae4553f413..a36e1e4c75a8 100644
--- a/media-libs/libopenraw/libopenraw-0.0.6.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.6.ebuild,v 1.1 2009/03/15 12:00:30 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.7.ebuild,v 1.1 2009/04/29 09:10:31 nirbheek Exp $
EAPI="2"
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="gtk"
-# reason ?
+# Tests use files not distributed with the source
RESTRICT="test"
RDEPEND=">=dev-libs/boost-1.33
@@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
# Curl is used for test requiring internet access.
# test? ( net-misc/curl )
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fix-includes-gcc-4.4.patch"
+}
+
src_configure() {
econf \
--disable-dependency-tracking \