summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-01-21 06:51:27 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-01-21 06:51:27 +0000
commit2e4527c2a4095a0e93e0113673355315dbe09122 (patch)
tree31abc688d52c28afe9999533d6571803e98bbd80 /net-dialup
parentinitial commit, ebuild by Sven Wegener <sven.wegener@stealer.net>, bug #38108 (diff)
downloadhistorical-2e4527c2a4095a0e93e0113673355315dbe09122.tar.gz
historical-2e4527c2a4095a0e93e0113673355315dbe09122.tar.bz2
historical-2e4527c2a4095a0e93e0113673355315dbe09122.zip
gcc 3.3 fix
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/pppoed/ChangeLog8
-rw-r--r--net-dialup/pppoed/Manifest5
-rw-r--r--net-dialup/pppoed/files/pppoed-0.48_beta1-gcc-3.3.patch24
-rw-r--r--net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild9
4 files changed, 40 insertions, 6 deletions
diff --git a/net-dialup/pppoed/ChangeLog b/net-dialup/pppoed/ChangeLog
index 891a0519b4c9..a1a6b67fd90a 100644
--- a/net-dialup/pppoed/ChangeLog
+++ b/net-dialup/pppoed/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/pppoed
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/ChangeLog,v 1.4 2003/11/19 14:47:40 lanius Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/ChangeLog,v 1.5 2004/01/21 06:51:16 lanius Exp $
+
+ 21 Jan 2004; Heinrich Wendel <lanius@gentoo.org>
+ pppoed-0.48_beta1-r1.ebuild, files/pppoed-0.48_beta1-gcc-3.3.patch:
+ gcc 3.3 fix
19 Nov 2003; Heinrich Wendel <lanius@gentoo.org> metadata.xml:
metadata.xml
diff --git a/net-dialup/pppoed/Manifest b/net-dialup/pppoed/Manifest
index be4eb32371e4..3dd330610bbd 100644
--- a/net-dialup/pppoed/Manifest
+++ b/net-dialup/pppoed/Manifest
@@ -1,4 +1,5 @@
-MD5 42d1046b7cf931e155a48c35e628ad73 pppoed-0.48_beta1-r1.ebuild 738
-MD5 468347adc649ce85e22ecbef7533d1de ChangeLog 871
+MD5 68965b73169fb11edd9c2cb40b166633 pppoed-0.48_beta1-r1.ebuild 806
+MD5 c954e106c4fa578d7ceeadc730d8129c ChangeLog 1007
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
+MD5 a943a082b47d10b696fc4ae6fffd66a0 files/pppoed-0.48_beta1-gcc-3.3.patch 1073
MD5 5e19973ce403b09666cafc987176d7e9 files/digest-pppoed-0.48_beta1-r1 62
diff --git a/net-dialup/pppoed/files/pppoed-0.48_beta1-gcc-3.3.patch b/net-dialup/pppoed/files/pppoed-0.48_beta1-gcc-3.3.patch
new file mode 100644
index 000000000000..583cbc73528e
--- /dev/null
+++ b/net-dialup/pppoed/files/pppoed-0.48_beta1-gcc-3.3.patch
@@ -0,0 +1,24 @@
+diff -Naur pppoed-0.48b1.orig/pppoed/lib.c pppoed-0.48b1/pppoed/lib.c
+--- pppoed-0.48b1.orig/pppoed/lib.c 2000-10-08 10:42:14.000000000 -0700
++++ pppoed-0.48b1/pppoed/lib.c 2004-02-20 21:29:08.472393904 -0800
+@@ -168,16 +168,15 @@
+ struct pppoe_tag *ac_htag;
+ ac_htag=find_tag (ses,ses->tags_len,ses->tags, TAG_HOST_UNIQ);
+ if (NULL == ac_htag) {
+- poe_error (ses,"Buggy AC: Contact your ISP please,
+- we sent a host uniq tag but got none back: %m");
+- } else {
++ poe_error (ses,"Buggy AC: Contact your ISP please, we sent a host uniq tag but got none back: %m");
++ }
++ else {
+ struct host_tag *tgs,*tgr;
+ tgs=(struct host_tag *)ses->filt->htag;
+ tgr=(struct host_tag *)ac_htag;
+ /* compare if it looks like ours */
+ if (tgr->id !=tgs->id) {
+- poe_error (ses,"Buggy AC: Contact your ISP please,
+- we sent a host-uniqid %d and received %d",tgs->id,tgr->id);
++ poe_error (ses,"Buggy AC: Contact your ISP please, we sent a host-uniqid %d and received %d",tgs->id,tgr->id);
+
+ }
+
diff --git a/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild b/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild
index fe47b2434547..8ae192158d7f 100644
--- a/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild
+++ b/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild,v 1.11 2003/09/07 00:09:22 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild,v 1.12 2004/01/21 06:51:16 lanius Exp $
S=${WORKDIR}/pppoed-0.48b1/pppoed
DESCRIPTION="PPP over Ethernet"
@@ -13,6 +13,11 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc-3.3.patch
+}
+
src_compile() {
econf \
--sysconfdir=/etc/ppp/pppoed || die