summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2013-04-11 13:06:43 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2013-04-11 13:06:43 +0000
commit3bc5aa3155154c61fae29dceee0033de3b011b14 (patch)
tree9dce6bfe187f942a6985ae37c6cd095a723938e4 /media-gfx/freepv
parentversion bump (diff)
downloadgentoo-2-3bc5aa3155154c61fae29dceee0033de3b011b14.tar.gz
gentoo-2-3bc5aa3155154c61fae29dceee0033de3b011b14.tar.bz2
gentoo-2-3bc5aa3155154c61fae29dceee0033de3b011b14.zip
Add missing string.h include revealed by libpng-1.6 bump, thanks Helmut Jarausch <jarausch@igpm.rwth-aachen.de> in bug #465476
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'media-gfx/freepv')
-rw-r--r--media-gfx/freepv/ChangeLog7
-rw-r--r--media-gfx/freepv/files/freepv-0.3.0-stringh.patch10
-rw-r--r--media-gfx/freepv/freepv-0.3.0-r4.ebuild5
3 files changed, 19 insertions, 3 deletions
diff --git a/media-gfx/freepv/ChangeLog b/media-gfx/freepv/ChangeLog
index a2877744355b..cb20783d9e36 100644
--- a/media-gfx/freepv/ChangeLog
+++ b/media-gfx/freepv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/freepv
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/ChangeLog,v 1.15 2013/04/10 09:40:32 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/ChangeLog,v 1.16 2013/04/11 13:06:43 voyageur Exp $
+
+ 11 Apr 2013; Bernard Cafarelli <voyageur@gentoo.org> freepv-0.3.0-r4.ebuild,
+ +files/freepv-0.3.0-stringh.patch:
+ Add missing string.h include revealed by libpng-1.6 bump, thanks Helmut
+ Jarausch <jarausch@igpm.rwth-aachen.de> in bug #465476
*freepv-0.3.0-r4 (10 Apr 2013)
diff --git a/media-gfx/freepv/files/freepv-0.3.0-stringh.patch b/media-gfx/freepv/files/freepv-0.3.0-stringh.patch
new file mode 100644
index 000000000000..083585e5750c
--- /dev/null
+++ b/media-gfx/freepv/files/freepv-0.3.0-stringh.patch
@@ -0,0 +1,10 @@
+--- src/libfreepv/Image.cpp.ORIG 2009-05-02 01:12:31.000000000 +0200
++++ src/libfreepv/Image.cpp 2013-04-11 09:37:07.436358208 +0200
+@@ -23,6 +23,7 @@
+ */
+
+ #include <assert.h>
++#include <string.h>
+
+ #include "Image.h"
+ #include "JpegReader.h"
diff --git a/media-gfx/freepv/freepv-0.3.0-r4.ebuild b/media-gfx/freepv/freepv-0.3.0-r4.ebuild
index 23f4c296fc8c..9d0da7b28b32 100644
--- a/media-gfx/freepv/freepv-0.3.0-r4.ebuild
+++ b/media-gfx/freepv/freepv-0.3.0-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/freepv-0.3.0-r4.ebuild,v 1.1 2013/04/10 09:40:32 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/freepv-0.3.0-r4.ebuild,v 1.2 2013/04/11 13:06:43 voyageur Exp $
EAPI=5
inherit cmake-utils eutils
@@ -28,7 +28,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gcc44.patch \
"${FILESDIR}"/${P}-gcc46.patch \
"${FILESDIR}"/${P}-noplugin.patch \
- "${FILESDIR}"/${P}-libpng14.patch
+ "${FILESDIR}"/${P}-libpng14.patch \
+ "${FILESDIR}"/${P}-stringh.patch
sed -i \
-e 's:jpeg_mem_src:freepv_jpeg_mem_src:g' \