summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-06-05 09:26:31 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-06-05 09:26:31 +0000
commit7b6499f2eab4d671f5ab632237e30a0ac4d71b06 (patch)
tree20ff477d20f24f7f6193f3af732066443d3e6fd1 /media-libs/skstream
parentFix permissions (as this was done by unpack() before) (diff)
downloadgentoo-2-7b6499f2eab4d671f5ab632237e30a0ac4d71b06.tar.gz
gentoo-2-7b6499f2eab4d671f5ab632237e30a0ac4d71b06.tar.bz2
gentoo-2-7b6499f2eab4d671f5ab632237e30a0ac4d71b06.zip
Fix build with glibc-2.10.1. Should fix bug #272703
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/skstream')
-rw-r--r--media-libs/skstream/ChangeLog8
-rw-r--r--media-libs/skstream/files/skstream-0.3.6-glibc2101.patch10
-rw-r--r--media-libs/skstream/skstream-0.3.3.ebuild18
-rw-r--r--media-libs/skstream/skstream-0.3.6.ebuild8
4 files changed, 21 insertions, 23 deletions
diff --git a/media-libs/skstream/ChangeLog b/media-libs/skstream/ChangeLog
index bb6a8f5bd5e7..cb457130bc44 100644
--- a/media-libs/skstream/ChangeLog
+++ b/media-libs/skstream/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/skstream
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/ChangeLog,v 1.25 2009/02/18 16:51:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/ChangeLog,v 1.26 2009/06/05 09:26:31 tupone Exp $
+
+ 05 Jun 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/skstream-0.3.6-glibc2101.patch, -skstream-0.3.3.ebuild,
+ skstream-0.3.6.ebuild:
+ Fix build with glibc-2.10.1. Should fix bug #272703 by Diego Petteno'
+ Removing old version
18 Feb 2009; Raúl Porcel <armin76@gentoo.org> skstream-0.3.6.ebuild:
sparc stable wrt #254833
diff --git a/media-libs/skstream/files/skstream-0.3.6-glibc2101.patch b/media-libs/skstream/files/skstream-0.3.6-glibc2101.patch
new file mode 100644
index 000000000000..7dd596270074
--- /dev/null
+++ b/media-libs/skstream/files/skstream-0.3.6-glibc2101.patch
@@ -0,0 +1,10 @@
+--- skstream/skstream.h.old 2009-06-05 11:12:47.000000000 +0200
++++ skstream/skstream.h 2009-06-05 11:13:47.000000000 +0200
+@@ -30,6 +30,7 @@
+ #define RGJ_FREE_STREAM_H_
+
+ #include <iostream>
++#include <cstdio>
+
+ #include <skstream/sksocket.h>
+
diff --git a/media-libs/skstream/skstream-0.3.3.ebuild b/media-libs/skstream/skstream-0.3.3.ebuild
deleted file mode 100644
index 118a89fcb371..000000000000
--- a/media-libs/skstream/skstream-0.3.3.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/skstream-0.3.3.ebuild,v 1.6 2008/11/06 20:25:46 tupone Exp $
-
-DESCRIPTION="FreeSockets - Portable C++ classes for IP (sockets) applications"
-SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
-HOMEPAGE="http://www.worldforge.org/"
-
-SLOT="0"
-LICENSE="LGPL-2"
-KEYWORDS="~ppc sparc x86"
-IUSE=""
-
-src_install() {
- make DESTDIR="${D}" install || die "make install died"
- rm "${D}"/usr/share/doc/${PF}/COPYING
- dodoc TODO
-}
diff --git a/media-libs/skstream/skstream-0.3.6.ebuild b/media-libs/skstream/skstream-0.3.6.ebuild
index 31c514796cde..c76fbc44fcea 100644
--- a/media-libs/skstream/skstream-0.3.6.ebuild
+++ b/media-libs/skstream/skstream-0.3.6.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/skstream-0.3.6.ebuild,v 1.7 2009/02/18 16:51:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/skstream-0.3.6.ebuild,v 1.8 2009/06/05 09:26:31 tupone Exp $
+EAPI=2
inherit eutils
@@ -13,11 +14,10 @@ LICENSE="GPL-2"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
edos2unix ping/ping.cpp
epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-glibc2101.patch \
"${FILESDIR}"/${P}-test.patch
}