summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-06-30 16:03:20 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-06-30 16:03:20 +0000
commitb66c68b61ff4224d9b2a0eeb4def075b6daf19f9 (patch)
tree8611378e20c5c60af7e2e127df2f8e906f010bf7 /media-sound
parentVersion bump #424237 by PetaMem R&D. (diff)
downloadhistorical-b66c68b61ff4224d9b2a0eeb4def075b6daf19f9.tar.gz
historical-b66c68b61ff4224d9b2a0eeb4def075b6daf19f9.tar.bz2
historical-b66c68b61ff4224d9b2a0eeb4def075b6daf19f9.zip
gcc-4.7 compile fixed, bug 424101; eapi=4; fixed c++ includes; minor fixes in ebuild
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/vdramgw/ChangeLog9
-rw-r--r--media-sound/vdramgw/Manifest18
-rw-r--r--media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch6
-rw-r--r--media-sound/vdramgw/files/vdramgw-0.0.2_gcc-4.7.diff92
-rw-r--r--media-sound/vdramgw/vdramgw-0.0.2.ebuild18
5 files changed, 128 insertions, 15 deletions
diff --git a/media-sound/vdramgw/ChangeLog b/media-sound/vdramgw/ChangeLog
index 3d57dd32898f..afd9682e36b9 100644
--- a/media-sound/vdramgw/ChangeLog
+++ b/media-sound/vdramgw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/vdramgw
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.4 2010/08/13 21:31:17 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.5 2012/06/30 16:03:20 hd_brummy Exp $
+
+ 30 Jun 2012; Joerg Bornkessel <hd_brummy@gentoo.org> vdramgw-0.0.2.ebuild,
+ files/vdramgw-0.0.2-gcc43.patch, +files/vdramgw-0.0.2_gcc-4.7.diff:
+ gcc-4.7 compile fixed, bug 424101; eapi=4; fixed c++ includes; minor fixes in
+ ebuild
13 Aug 2010; Markos Chandras <hwoarang@gentoo.org> vdramgw-0.0.2.ebuild:
Respect CXX,CXXFLAGS,LDFLAGS. Bug #332543. Thanks to Diego E. 'Flameeyes'
diff --git a/media-sound/vdramgw/Manifest b/media-sound/vdramgw/Manifest
index 7fc01fe9a6b9..0034a1ab9c35 100644
--- a/media-sound/vdramgw/Manifest
+++ b/media-sound/vdramgw/Manifest
@@ -1,5 +1,17 @@
-AUX vdramgw-0.0.2-gcc43.patch 1000 RMD160 4153d86792786a571caeeb24c832391e8cdd572d SHA1 c7c10fb8983a6accbc3a2a456ae916e042832616 SHA256 d15ee38315862c05596bd798ca38bae22b72e7e238c6a725eaed79635452c383
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX vdramgw-0.0.2-gcc43.patch 997 RMD160 8fe97bcd0f3ce3b72ca71c9ed9499eb8eea9f669 SHA1 262fc41cd16e9968b7b0cfc5dacedd10600469b4 SHA256 39a8847a0b69e5878627e6578195c5fa26880a8430c1639cc4dc34e82de90bbc
+AUX vdramgw-0.0.2_gcc-4.7.diff 2297 RMD160 475f996483becfc792012a66757848875e814f1f SHA1 32b760420b4c47a7af06adcfdcecebcc97c91c1b SHA256 fb63e72bc449ba4e54a6289a7f9c81faff7388390b9bdc5b5dddc675a112f4b4
DIST vdr-amarok-0.0.2.tar.bz2 51816 RMD160 393827e9566d26b93da4fc6a5dc4860ab4674d6c SHA1 c5a22ff55bb0366965aa5a360191d1cfdc17fde2 SHA256 b96b6845eba17d500eeccc85f97cc0480e057801657133302ed7271167372a91
-EBUILD vdramgw-0.0.2.ebuild 940 RMD160 2f9c3076feb8a8727490972540bb10187b4a49d1 SHA1 e3203643b18fb87a07438eda4dea04e172195af2 SHA256 7661adcd842071679ad70a1f12a6c49b34af20130d985501ff25609dc51dd35f
-MISC ChangeLog 828 RMD160 0dc5330a81d58dc07887c991f93f5f2bfe4f9829 SHA1 7bcc06bce7d558c4db771797771bb7eb374e0092 SHA256 aa63c88bd1cba4c1d1d4406ef558818ee9153fb877dcc4c5c642ccc23ebf1733
+EBUILD vdramgw-0.0.2.ebuild 1019 RMD160 c2ebec70910769df95df1633aac0465182983157 SHA1 c4b89ff6e1895c559bb83104f90be282dbda7843 SHA256 ab6fd3688abe0fe78a5ea10be77ade2843a0e3d82c47a55f2a5587ce63a5b062
+MISC ChangeLog 1066 RMD160 0f42aba71ef88c41f8de78e452d59e7331574490 SHA1 2f2655db5f578ea7f3ca2d6fdf5fb63e5cd974ce SHA256 731a4cc492cead5ab014be77de594c1ae8fb916418bb23cb780c3c79b95f99a0
MISC metadata.xml 258 RMD160 3978316b72989b0150dd21a2ba1f2449a158ebc9 SHA1 4ed083cc2156c1d9ea22136d69bcdd9da3d758b9 SHA256 1d6292676863287cee09b69ba35f3ea7546ed6718a3fea1d326deae735dadf64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFP7yNRdn07HTTCgIoRAt1/AJ99CMhc2Dt2NON6DP40slsvkw+nkwCgjan+
+MCzMNvmcAFmNshcZNLrU864=
+=zaDU
+-----END PGP SIGNATURE-----
diff --git a/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch b/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch
index ff504c090e53..8c3ac7452aae 100644
--- a/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch
+++ b/media-sound/vdramgw/files/vdramgw-0.0.2-gcc43.patch
@@ -5,7 +5,7 @@ diff -ur amarok-0.0.2.orig/Sockets.cpp amarok-0.0.2/Sockets.cpp
#include "Sockets.h"
-+#include <string.h>
++#include <cstring>
#include <sstream>
#ifndef WIN32
@@ -16,7 +16,7 @@ diff -ur amarok-0.0.2.orig/vdramgw/Sockets.cpp amarok-0.0.2/vdramgw/Sockets.cpp
#include "Sockets.h"
-+#include <string.h>
++#include <cstring>
#include <sstream>
#ifndef WIN32
@@ -28,7 +28,7 @@ diff -ur amarok-0.0.2.orig/vdramgw/vdramgw.cpp amarok-0.0.2/vdramgw/vdramgw.cpp
#endif
-
-+#include <string.h>
++#include <cstring>
#include <unistd.h>
#include <getopt.h>
#include <iostream>
diff --git a/media-sound/vdramgw/files/vdramgw-0.0.2_gcc-4.7.diff b/media-sound/vdramgw/files/vdramgw-0.0.2_gcc-4.7.diff
new file mode 100644
index 000000000000..c5182cfd33d6
--- /dev/null
+++ b/media-sound/vdramgw/files/vdramgw-0.0.2_gcc-4.7.diff
@@ -0,0 +1,92 @@
+gcc-4.7 compile fix
+https://bugs.gentoo.org/show_bug.cgi?id=424101
+
+signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2012/30/06)
+diff -Naur amarok-0.0.2.orig/Sockets.h amarok-0.0.2/Sockets.h
+--- amarok-0.0.2.orig/Sockets.h 2012-06-30 17:40:27.000000000 +0200
++++ amarok-0.0.2/Sockets.h 2012-06-30 17:43:21.000000000 +0200
+@@ -182,8 +182,8 @@
+ {
+ if (this->gptr() == NULL)
+ {
+- setg(s, s + n, s + n);
+- setp(s, s + n);
++ this->setg(s, s + n, s + n);
++ this->setp(s, s + n);
+ inbuf_ = s;
+ outbuf_ = s;
+ bufsize_ = n;
+@@ -215,9 +215,9 @@
+ {
+ _flush();
+ }
+- setp(outbuf_, outbuf_ + bufsize_);
++ this->setp(outbuf_, outbuf_ + bufsize_);
+ if (c != traits::eof())
+- sputc(traits::to_char_type(c));
++ this->sputc(traits::to_char_type(c));
+ return 0;
+ }
+
+@@ -225,7 +225,7 @@
+ {
+ // just flush the put area
+ _flush();
+- setp(outbuf_, outbuf_ + bufsize_);
++ this->setp(outbuf_, outbuf_ + bufsize_);
+ return 0;
+ }
+
+@@ -256,7 +256,7 @@
+ return traits::eof();
+
+ size_t totalbytes = readn + remained_;
+- setg(inbuf_, inbuf_,
++ this->setg(inbuf_, inbuf_,
+ inbuf_ + totalbytes / sizeof(char_type));
+
+ remained_ = totalbytes % sizeof(char_type);
+diff -Naur amarok-0.0.2.orig/vdramgw/Sockets.h amarok-0.0.2/vdramgw/Sockets.h
+--- amarok-0.0.2.orig/vdramgw/Sockets.h 2012-06-30 17:40:27.000000000 +0200
++++ amarok-0.0.2/vdramgw/Sockets.h 2012-06-30 17:41:52.000000000 +0200
+@@ -182,8 +182,8 @@
+ {
+ if (this->gptr() == NULL)
+ {
+- setg(s, s + n, s + n);
+- setp(s, s + n);
++ this->setg(s, s + n, s + n);
++ this->setp(s, s + n);
+ inbuf_ = s;
+ outbuf_ = s;
+ bufsize_ = n;
+@@ -215,9 +215,9 @@
+ {
+ _flush();
+ }
+- setp(outbuf_, outbuf_ + bufsize_);
++ this->setp(outbuf_, outbuf_ + bufsize_);
+ if (c != traits::eof())
+- sputc(traits::to_char_type(c));
++ this->sputc(traits::to_char_type(c));
+ return 0;
+ }
+
+@@ -225,7 +225,7 @@
+ {
+ // just flush the put area
+ _flush();
+- setp(outbuf_, outbuf_ + bufsize_);
++ this->setp(outbuf_, outbuf_ + bufsize_);
+ return 0;
+ }
+
+@@ -256,7 +256,7 @@
+ return traits::eof();
+
+ size_t totalbytes = readn + remained_;
+- setg(inbuf_, inbuf_,
++ this->setg(inbuf_, inbuf_,
+ inbuf_ + totalbytes / sizeof(char_type));
+
+ remained_ = totalbytes % sizeof(char_type);
diff --git a/media-sound/vdramgw/vdramgw-0.0.2.ebuild b/media-sound/vdramgw/vdramgw-0.0.2.ebuild
index 16f7c4a83290..6a73df242dc0 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-2010 Gentoo Foundation
+# Copyright 1999-2012 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.5 2010/08/13 21:31:17 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.6 2012/06/30 16:03:20 hd_brummy Exp $
+
+EAPI="4"
inherit eutils toolchain-funcs
@@ -16,18 +18,20 @@ KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
-RDEPEND=""
+RDEPEND="${DEPEND}"
+RDEPEND="media-sound/amarok"
S="${WORKDIR}/${MY_P#vdr-}/${PN}"
-RDEPEND="media-sound/amarok"
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/${P}-gcc43.patch
+src_prepare() {
# Respect CC,CXXFLAGS, LDFLAGS
sed -i -e "/^CXX /s:?=.*:= $(tc-getCXX):" \
-e "/^CXXFLAGS/s:?=.*:= ${CFLAGS}:" \
-e "s:\$(CXXFLAGS):& \$(LDFLAGS) :" "${S}"/Makefile
+
+ cd "${WORKDIR}/${MY_P#vdr-}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}/${P}_gcc-4.7.diff"
}
src_install() {