summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-11-12 18:59:52 +0000
committerAlin Năstac <mrness@gentoo.org>2004-11-12 18:59:52 +0000
commitdb1c5ca0a99d0206fdd1b982700589e201b187de (patch)
treea234b76026bc83639b91ae5d66fde2dbd0b06437 /net-dialup/linux-atm
parentInitial check-in. Fixes bug #52019 (Manifest recommit) (diff)
downloadgentoo-2-db1c5ca0a99d0206fdd1b982700589e201b187de.tar.gz
gentoo-2-db1c5ca0a99d0206fdd1b982700589e201b187de.tar.bz2
gentoo-2-db1c5ca0a99d0206fdd1b982700589e201b187de.zip
fixed broken compilation on uclibc (#61184)
Diffstat (limited to 'net-dialup/linux-atm')
-rw-r--r--net-dialup/linux-atm/ChangeLog8
-rw-r--r--net-dialup/linux-atm/Manifest15
-rw-r--r--net-dialup/linux-atm/files/2.4.1-uclibc.patch11
-rw-r--r--net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r11
-rw-r--r--net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild39
5 files changed, 62 insertions, 12 deletions
diff --git a/net-dialup/linux-atm/ChangeLog b/net-dialup/linux-atm/ChangeLog
index 4322f9546739..96ea731ec6bc 100644
--- a/net-dialup/linux-atm/ChangeLog
+++ b/net-dialup/linux-atm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/linux-atm
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.7 2004/07/09 21:09:03 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.8 2004/11/12 18:59:52 mrness Exp $
+
+*linux-atm-2.4.1-r1 (12 Nov 2004)
+
+ 12 Sep 2004; Alin Nastac <mrness@gentoo.org>
+ +linux-atm-2.4.1-r1.ebuild, +files/2.4.1-uclib.patch:
+ Fixed broken compilation on uclibc env (#61184).
09 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> linux-atm-2.4.1.ebuild:
Stable on alpha.
diff --git a/net-dialup/linux-atm/Manifest b/net-dialup/linux-atm/Manifest
index e9271c9b80af..1f69dc276b68 100644
--- a/net-dialup/linux-atm/Manifest
+++ b/net-dialup/linux-atm/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 f92b07928eca793c02ad9e56ef106b66 ChangeLog 816
MD5 0a27d5257c7f3393651e06c91c3bdd0a linux-atm-2.4.1.ebuild 857
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
-MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1 67
+MD5 b047f92b1bfb25670200c7df9287e2ab linux-atm-2.4.1-r1.ebuild 1003
MD5 377f9a635f2f11c0d0e8b5c6b83d14d7 files/2.4.1-gcc34.patch 1175
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBVP2HHTu7gpaalycRAkqnAKCdqu4GG+XLREJrTFx9txzROwGXNACfeqbK
-8J1deStMFaUDT1XUpCIAgSs=
-=ltqo
------END PGP SIGNATURE-----
+MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1 67
+MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1-r1 67
+MD5 2513dd16d6943f14795364d0d71aab50 files/2.4.1-uclibc.patch 497
diff --git a/net-dialup/linux-atm/files/2.4.1-uclibc.patch b/net-dialup/linux-atm/files/2.4.1-uclibc.patch
new file mode 100644
index 000000000000..2e5dcd765707
--- /dev/null
+++ b/net-dialup/linux-atm/files/2.4.1-uclibc.patch
@@ -0,0 +1,11 @@
+--- linux-atm-2.4.1/config.sub.chris 2004-08-21 19:05:03 +0000
++++ linux-atm-2.4.1/config.sub 2004-08-21 19:05:27 +0000
+@@ -117,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+- nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
++ nto-qnx* | linux-gnu* | linux-uclibc* | storm-chaos* | os2-emx*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
diff --git a/net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1 b/net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1
new file mode 100644
index 000000000000..eb664b0dece7
--- /dev/null
+++ b/net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1
@@ -0,0 +1 @@
+MD5 84fef49cc39ff2605204246666f65864 linux-atm-2.4.1.tar.gz 711714
diff --git a/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild b/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..b0730d753992
--- /dev/null
+++ b/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# 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-r1.ebuild,v 1.1 2004/11/12 18:59:52 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="Tools for ATM"
+HOMEPAGE="http://linux-atm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+RESTRICT="autoconfig"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch ${FILESDIR}/${PV}-uclibc.patch
+}
+
+src_compile() {
+ econf || die "configure failed"
+ sed -i 's:hosts.atm :hosts.atm ${D}:' src/config/Makefile || die "fail seding the Makefile"
+ emake || die "make failed"
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ man_prefix=/usr/share/man \
+ install || die "make install failed"
+
+ dodoc README NEWS THANKS AUTHORS BUGS INSTALL ChangeLog
+ dodoc doc/README* doc/atm*
+}