summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-07-04 02:47:58 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-07-04 02:47:58 +0000
commit2a7e47c31099137a186e5db03b5acbfdf6859fa0 (patch)
treecffdef848a6d7b101bbc464a6f03022446eb4313 /net-libs
parentnew version; closes bug # 3895 (diff)
downloadgentoo-2-2a7e47c31099137a186e5db03b5acbfdf6859fa0.tar.gz
gentoo-2-2a7e47c31099137a186e5db03b5acbfdf6859fa0.tar.bz2
gentoo-2-2a7e47c31099137a186e5db03b5acbfdf6859fa0.zip
gcc-3.1 fix
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/wvstreams/ChangeLog8
-rw-r--r--net-libs/wvstreams/files/digest-wvstreams-3.70-r11
-rw-r--r--net-libs/wvstreams/files/wvstreams-3.70-gentoo.patch24
-rw-r--r--net-libs/wvstreams/wvstreams-3.70-r1.ebuild33
4 files changed, 65 insertions, 1 deletions
diff --git a/net-libs/wvstreams/ChangeLog b/net-libs/wvstreams/ChangeLog
index 4023c5483b64..3b1b3f836e57 100644
--- a/net-libs/wvstreams/ChangeLog
+++ b/net-libs/wvstreams/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/wvstreams
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.1 2002/04/27 13:18:22 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.2 2002/07/04 02:47:58 lostlogic Exp $
+
+*wvstreams-3.70 (03 Jul 2002)
+
+ 03 Jul 2002; Brandon Low <lostlogic@gentoo.org> wvstreams-3.70-r1.ebuild
+
+ Just an update for gcc-3.1 compatiblity don't get excited.
*wvstreams-3.70 (27 Apr 2002)
diff --git a/net-libs/wvstreams/files/digest-wvstreams-3.70-r1 b/net-libs/wvstreams/files/digest-wvstreams-3.70-r1
new file mode 100644
index 000000000000..343e814eac42
--- /dev/null
+++ b/net-libs/wvstreams/files/digest-wvstreams-3.70-r1
@@ -0,0 +1 @@
+MD5 6fd341edd65d248f92338ba9e91a2875 wvstreams-3.70.tar.gz 182681
diff --git a/net-libs/wvstreams/files/wvstreams-3.70-gentoo.patch b/net-libs/wvstreams/files/wvstreams-3.70-gentoo.patch
new file mode 100644
index 000000000000..d42234bba2fe
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-3.70-gentoo.patch
@@ -0,0 +1,24 @@
+diff -Nru wvstreams-3.70-clean/src/ipstreams/wvaddr.h wvstreams-3.70/src/ipstreams/wvaddr.h
+--- wvstreams-3.70-clean/src/ipstreams/wvaddr.h Tue Apr 2 20:53:20 2002
++++ wvstreams-3.70/src/ipstreams/wvaddr.h Thu Jul 4 02:32:27 2002
+@@ -369,7 +369,7 @@
+ __u16 port;
+
+ WvIPPortAddr();
+- WvIPPortAddr(const unsigned char _ipaddr[4], __u16 _port = 0);
++ WvIPPortAddr(unsigned char _ipaddr[4], __u16 _port = 0);
+ WvIPPortAddr(const WvIPAddr &_ipaddr, __u16 _port = 0);
+ WvIPPortAddr(const char string[]) : WvIPAddr(string)
+ { string_init(string); }
+diff -Nru wvstreams-3.70-clean/src/ipstreams/wvresolver.cc wvstreams-3.70/src/ipstreams/wvresolver.cc
+--- wvstreams-3.70-clean/src/ipstreams/wvresolver.cc Sat Mar 2 04:33:08 2002
++++ wvstreams-3.70/src/ipstreams/wvresolver.cc Thu Jul 4 02:35:05 2002
+@@ -128,7 +128,7 @@
+ // If addr==NULL, this just tests to see if the name exists.
+ int WvResolver::findaddr(int msec_timeout, const WvString &name,
+ WvIPAddr const **addr,
+- WvIPAddrList *addrlist = NULL)
++ WvIPAddrList *addrlist)
+ {
+ WvResolverHost *host;
+ time_t now = time(NULL);
diff --git a/net-libs/wvstreams/wvstreams-3.70-r1.ebuild b/net-libs/wvstreams/wvstreams-3.70-r1.ebuild
new file mode 100644
index 000000000000..645d9939caec
--- /dev/null
+++ b/net-libs/wvstreams/wvstreams-3.70-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-3.70-r1.ebuild,v 1.1 2002/07/04 02:47:58 lostlogic Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A network programming library in C++"
+SRC_URI="http://open.nit.ca/download/${P}.tar.gz"
+HOMEPAGE="http://open.nit.ca/wvstreams"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+
+ emake || die
+}
+
+src_install() {
+
+ make \
+ PREFIX=${D}/usr \
+ install || die
+}