summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2008-06-25 16:28:16 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2008-06-25 16:28:16 +0000
commit6621267504ecead43ce77723ded5953e3cbc1ba5 (patch)
treec7f99198e43e0d4952deb631b8209c2db5152b71 /media-video/vdr2jpeg
parentDropped old version that depends on python-2.3 (diff)
downloadgentoo-2-6621267504ecead43ce77723ded5953e3cbc1ba5.tar.gz
gentoo-2-6621267504ecead43ce77723ded5953e3cbc1ba5.tar.bz2
gentoo-2-6621267504ecead43ce77723ded5953e3cbc1ba5.zip
fix compile probs on gcc-4.3; bug 229377 ; Thanks to M.Brakemeier
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-video/vdr2jpeg')
-rw-r--r--media-video/vdr2jpeg/ChangeLog6
-rw-r--r--media-video/vdr2jpeg/files/vdr2jpeg-0.1.0-gcc43.patch38
-rw-r--r--media-video/vdr2jpeg/vdr2jpeg-0.1.0.ebuild3
3 files changed, 45 insertions, 2 deletions
diff --git a/media-video/vdr2jpeg/ChangeLog b/media-video/vdr2jpeg/ChangeLog
index 0ced7793a3f6..39b5fde774da 100644
--- a/media-video/vdr2jpeg/ChangeLog
+++ b/media-video/vdr2jpeg/ChangeLog
@@ -1,6 +1,10 @@
# 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.16 2008/06/15 21:20:17 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/ChangeLog,v 1.17 2008/06/25 16:28:15 hd_brummy Exp $
+
+ 25 Jun 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr2jpeg-0.1.0-gcc43.patch, vdr2jpeg-0.1.0.ebuild:
+ fix compile probs on gcc-4.3; bug 229377 ; Thanks to M.Brakemeier
15 Jun 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+files/vdr2jpeg-0.0.12-gcc43.patch, vdr2jpeg-0.0.12.ebuild:
diff --git a/media-video/vdr2jpeg/files/vdr2jpeg-0.1.0-gcc43.patch b/media-video/vdr2jpeg/files/vdr2jpeg-0.1.0-gcc43.patch
new file mode 100644
index 000000000000..975587610692
--- /dev/null
+++ b/media-video/vdr2jpeg/files/vdr2jpeg-0.1.0-gcc43.patch
@@ -0,0 +1,38 @@
+add missing inludes for gcc-4.3.x
+http://bugs.gentoo.org/show_bug.cgi?id=229377
+diff -uBbwNr vdr2jpeg-0.1.0_orig/gop.cpp vdr2jpeg-0.1.0/gop.cpp
+--- vdr2jpeg-0.1.0_orig/gop.cpp 2008-02-17 07:14:46.000000000 +0100
++++ vdr2jpeg-0.1.0/gop.cpp 2008-06-25 13:48:19.000000000 +0200
+@@ -29,6 +29,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <time.h>
++#include <string.h>
+ #include <iostream>
+ #include <fstream>
+ #include <sstream>
+diff -uBbwNr vdr2jpeg-0.1.0_orig/tools.cpp vdr2jpeg-0.1.0/tools.cpp
+--- vdr2jpeg-0.1.0_orig/tools.cpp 2008-02-17 07:15:22.000000000 +0100
++++ vdr2jpeg-0.1.0/tools.cpp 2008-06-25 13:47:40.000000000 +0200
+@@ -19,6 +19,8 @@
+ * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
+ */
+
++#include <string.h>
++
+ #include "tools.h"
+
+ int option(int argc, char *argv[], const char opt, bool bParam,
+diff -uBbwNr vdr2jpeg-0.1.0_orig/vdr2jpeg.cpp vdr2jpeg-0.1.0/vdr2jpeg.cpp
+--- vdr2jpeg-0.1.0_orig/vdr2jpeg.cpp 2008-02-17 07:15:48.000000000 +0100
++++ vdr2jpeg-0.1.0/vdr2jpeg.cpp 2008-06-25 13:47:12.000000000 +0200
+@@ -22,6 +22,8 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <stdlib.h>
++#include <algorithm>
+ #include <iostream>
+ #include <fstream>
+ #include <sstream>
+
diff --git a/media-video/vdr2jpeg/vdr2jpeg-0.1.0.ebuild b/media-video/vdr2jpeg/vdr2jpeg-0.1.0.ebuild
index 362e86141dab..d8588e9b0cf4 100644
--- a/media-video/vdr2jpeg/vdr2jpeg-0.1.0.ebuild
+++ b/media-video/vdr2jpeg/vdr2jpeg-0.1.0.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.1.0.ebuild,v 1.4 2008/05/02 21:23:25 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr2jpeg/vdr2jpeg-0.1.0.ebuild,v 1.5 2008/06/25 16:28:15 hd_brummy Exp $
inherit eutils
@@ -26,6 +26,7 @@ src_unpack() {
sed -i "s:usr/local:usr:" Makefile
epatch "${FILESDIR}/ffmpeg-0.4.9_p20080326-new_header.diff"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
}
src_compile() {