summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-30 11:03:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-30 11:03:22 +0000
commitbfdc26426556b0c7b5d414a9d01ebece29f205bc (patch)
tree489c7141d37938763c56727dc8cfaee355c90385 /media-sound/vdramgw
parentFix bug 278962 (diff)
downloadgentoo-2-bfdc26426556b0c7b5d414a9d01ebece29f205bc.tar.gz
gentoo-2-bfdc26426556b0c7b5d414a9d01ebece29f205bc.tar.bz2
gentoo-2-bfdc26426556b0c7b5d414a9d01ebece29f205bc.zip
Fix building with GCC 4.3 wrt #276573.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/vdramgw')
-rw-r--r--media-sound/vdramgw/ChangeLog8
-rw-r--r--media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch34
-rw-r--r--media-sound/vdramgw/vdramgw-0.0.2.ebuild11
3 files changed, 49 insertions, 4 deletions
diff --git a/media-sound/vdramgw/ChangeLog b/media-sound/vdramgw/ChangeLog
index 34e5abc72443..be0b062b3a85 100644
--- a/media-sound/vdramgw/ChangeLog
+++ b/media-sound/vdramgw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/vdramgw
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.2 2007/12/19 14:09:15 hd_brummy Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.3 2009/07/30 11:03:22 ssuominen Exp $
+
+ 30 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> vdramgw-0.0.2.ebuild,
+ +files/vdramgw-0.0.2-gcc43.patch:
+ Fix building with GCC 4.3 wrt #276573.
19 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org> vdramgw-0.0.2.ebuild:
keyword ~amd64
diff --git a/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch b/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch
new file mode 100644
index 000000000000..ff504c090e53
--- /dev/null
+++ b/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch
@@ -0,0 +1,34 @@
+diff -ur amarok-0.0.2.orig/Sockets.cpp amarok-0.0.2/Sockets.cpp
+--- amarok-0.0.2.orig/Sockets.cpp 2006-05-15 14:03:23.000000000 +0300
++++ amarok-0.0.2/Sockets.cpp 2009-07-30 14:02:49.000000000 +0300
+@@ -15,6 +15,7 @@
+
+ #include "Sockets.h"
+
++#include <string.h>
+ #include <sstream>
+
+ #ifndef WIN32
+diff -ur amarok-0.0.2.orig/vdramgw/Sockets.cpp amarok-0.0.2/vdramgw/Sockets.cpp
+--- amarok-0.0.2.orig/vdramgw/Sockets.cpp 2006-05-15 12:52:44.000000000 +0300
++++ amarok-0.0.2/vdramgw/Sockets.cpp 2009-07-30 14:02:57.000000000 +0300
+@@ -15,6 +15,7 @@
+
+ #include "Sockets.h"
+
++#include <string.h>
+ #include <sstream>
+
+ #ifndef WIN32
+diff -ur amarok-0.0.2.orig/vdramgw/vdramgw.cpp amarok-0.0.2/vdramgw/vdramgw.cpp
+--- amarok-0.0.2.orig/vdramgw/vdramgw.cpp 2006-12-14 01:25:52.000000000 +0200
++++ amarok-0.0.2/vdramgw/vdramgw.cpp 2009-07-30 14:02:40.000000000 +0300
+@@ -23,7 +23,7 @@
+ #include <config.h>
+ #endif
+
+-
++#include <string.h>
+ #include <unistd.h>
+ #include <getopt.h>
+ #include <iostream>
diff --git a/media-sound/vdramgw/vdramgw-0.0.2.ebuild b/media-sound/vdramgw/vdramgw-0.0.2.ebuild
index 6107dca90875..fdca70bd01a6 100644
--- a/media-sound/vdramgw/vdramgw-0.0.2.ebuild
+++ b/media-sound/vdramgw/vdramgw-0.0.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.3 2007/12/19 14:09:15 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.4 2009/07/30 11:03:22 ssuominen Exp $
+
+inherit eutils
MY_P=vdr-amarok-${PV}
@@ -19,6 +21,11 @@ RDEPEND=""
S="${WORKDIR}/${MY_P#vdr-}/${PN}"
RDEPEND="media-sound/amarok"
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
dobin ${PN}
dodoc README