summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/linux-atm')
-rw-r--r--net-dialup/linux-atm/files/2.4.1-gcc34.patch46
-rw-r--r--net-dialup/linux-atm/linux-atm-2.4.1.ebuild29
2 files changed, 65 insertions, 10 deletions
diff --git a/net-dialup/linux-atm/files/2.4.1-gcc34.patch b/net-dialup/linux-atm/files/2.4.1-gcc34.patch
new file mode 100644
index 000000000000..052130faf8e1
--- /dev/null
+++ b/net-dialup/linux-atm/files/2.4.1-gcc34.patch
@@ -0,0 +1,46 @@
+--- linux-atm-2.4.1/src/sigd/proto.c.orig 2004-04-21 20:33:39.327959120 -0400
++++ linux-atm-2.4.1/src/sigd/proto.c 2004-04-21 20:33:55.979427712 -0400
+@@ -259,6 +259,7 @@
+ break;
+ }
+ default:
++ ;
+ }
+ va_end(ap);
+ if ((size = q_close(&dsc)) >= 0) to_signaling(sock->sig,q_buffer,size);
+@@ -288,6 +289,7 @@
+ }
+ break;
+ default:
++ ;
+ }
+ va_end(ap);
+ }
+--- linux-atm-2.4.1/src/lib/sapequal.c.orig 2004-04-21 20:18:48.773344000 -0400
++++ linux-atm-2.4.1/src/lib/sapequal.c 2004-04-21 20:19:15.103341232 -0400
+@@ -65,6 +65,7 @@
+ CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window);
+ break;
+ default:
++ ;
+ }
+ switch (a.l3_proto) {
+ case ATM_L3_X25:
+@@ -83,6 +84,7 @@
+ if (a.l3.user != b.l3.user) return 0;
+ break;
+ default:
++ ;
+ }
+ return 1;
+ }
+--- linux-atm-2.4.1/src/maint/enitune.c.orig 2004-04-21 21:14:53.994752584 -0400
++++ linux-atm-2.4.1/src/maint/enitune.c 2004-04-21 21:15:03.371327128 -0400
+@@ -44,6 +44,7 @@
+ if (*end || mult.rx <= 100) usage(name);
+ break;
+ default:
++ ;
+ }
+ if (argc != optind+1) usage(name);
+ sioc.number = strtol(argv[optind],&end,0);
diff --git a/net-dialup/linux-atm/linux-atm-2.4.1.ebuild b/net-dialup/linux-atm/linux-atm-2.4.1.ebuild
index 4bee06ce9d0a..b0da450c8eae 100644
--- a/net-dialup/linux-atm/linux-atm-2.4.1.ebuild
+++ b/net-dialup/linux-atm/linux-atm-2.4.1.ebuild
@@ -1,16 +1,25 @@
-# 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/linux-atm/linux-atm-2.4.1.ebuild,v 1.2 2003/09/03 17:49:14 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.4.1.ebuild,v 1.3 2004/04/22 01:26:50 vapier Exp $
+
+inherit eutils
DESCRIPTION="Tools for ATM"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://linux-atm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 hppa"
+IUSE=""
DEPEND="virtual/glibc"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch
+}
src_compile() {
econf || die
@@ -20,10 +29,10 @@ src_compile() {
src_install () {
make \
- DESTDIR=${D} \
- man_prefix=/usr/share/man \
- install || die
+ DESTDIR=${D} \
+ man_prefix=/usr/share/man \
+ install || die
- dodoc README NEWS THANKS AUTHORS BUGS COPYING* INSTALL ChangeLog
+ dodoc README NEWS THANKS AUTHORS BUGS INSTALL ChangeLog
dodoc doc/README* doc/atm*
}