summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2008-06-15 21:20:17 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2008-06-15 21:20:17 +0000
commit417ee683479c08f7254e2ab04a14035070b411e7 (patch)
tree3a2cb8a542f17a5e8593fbe982b35d0b169e8803 /media-video
parentFix 227295, Gcc-4.3 compatibility. Bump to newest, remove old. (diff)
downloadgentoo-2-417ee683479c08f7254e2ab04a14035070b411e7.tar.gz
gentoo-2-417ee683479c08f7254e2ab04a14035070b411e7.tar.bz2
gentoo-2-417ee683479c08f7254e2ab04a14035070b411e7.zip
patch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug #227167
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vdr2jpeg/ChangeLog7
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.0.12-gcc43.patch15
-rw-r--r--media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild5
3 files changed, 24 insertions, 3 deletions
diff --git a/media-video/vdr2jpeg/ChangeLog b/media-video/vdr2jpeg/ChangeLog
index 69fc9623953d..0ced7793a3f6 100644
--- a/media-video/vdr2jpeg/ChangeLog
+++ b/media-video/vdr2jpeg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/vdr2jpeg
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/ChangeLog,v 1.15 2008/05/02 21:23:25 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/ChangeLog,v 1.16 2008/06/15 21:20:17 hd_brummy Exp $
+
+ 15 Jun 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr2jpeg-0.0.12-gcc43.patch, vdr2jpeg-0.0.12.ebuild:
+ patch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug
+ #227167
02 May 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr2jpeg-0.0.12.ebuild, vdr2jpeg-0.1.0.ebuild:
diff --git a/media-video/vdr2jpeg/files/vdr2jpeg-0.0.12-gcc43.patch b/media-video/vdr2jpeg/files/vdr2jpeg-0.0.12-gcc43.patch
new file mode 100644
index 000000000000..7e1c9c98372d
--- /dev/null
+++ b/media-video/vdr2jpeg/files/vdr2jpeg-0.0.12-gcc43.patch
@@ -0,0 +1,15 @@
+add missing inlcudes for gcc-4.3.x
+bug 227167
+
+diff -ruN vdr2jpeg-0.0.12_orig/vdr2jpeg.cpp vdr2jpeg-0.0.12/vdr2jpeg.cpp
+--- vdr2jpeg-0.0.12_orig/vdr2jpeg.cpp 2007-08-29 18:43:09.000000000 +0200
++++ vdr2jpeg-0.0.12/vdr2jpeg.cpp 2008-06-15 14:51:05.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <errno.h>
+ #include <time.h>
+ #include <iostream>
+
diff --git a/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild b/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild
index 16bc13727777..bf92d576c11a 100644
--- a/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild
+++ b/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild,v 1.5 2008/05/02 21:23:25 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/vdr2jpeg-0.0.12.ebuild,v 1.6 2008/06/15 21:20:17 hd_brummy Exp $
inherit eutils
@@ -23,8 +23,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
- sed -i "s:usr/local:usr:" Makefile
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+ sed -i "s:usr/local:usr:" Makefile
}
src_compile() {