summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2003-07-24 16:39:16 +0000
committerHanno Boeck <hanno@gentoo.org>2003-07-24 16:39:16 +0000
commit4b1cd7ce004efb92ffd410bbdce92b12aaeef886 (patch)
tree8994617605acccd31ea5e3503a3d77072387b4a6 /net-libs/libnet
parentVersion bumped (diff)
downloadhistorical-4b1cd7ce004efb92ffd410bbdce92b12aaeef886.tar.gz
historical-4b1cd7ce004efb92ffd410bbdce92b12aaeef886.tar.bz2
historical-4b1cd7ce004efb92ffd410bbdce92b12aaeef886.zip
libnet gcc-3.3 fix
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/ChangeLog6
-rw-r--r--net-libs/libnet/Manifest7
-rw-r--r--net-libs/libnet/files/libnet-gcc33-fix13
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r2.ebuild9
4 files changed, 29 insertions, 6 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog
index f5291608a9d5..9f6831ae3f4d 100644
--- a/net-libs/libnet/ChangeLog
+++ b/net-libs/libnet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libnet
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.15 2003/05/21 15:44:04 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.16 2003/07/24 16:39:02 hanno Exp $
+
+ 24 Jul 2003; Hanno Boeck <hanno@gentoo.org> libnet-1.0.2a-r2.ebuild,
+ files/libnet-gcc33-fix:
+ Compile fix for gcc 3.3.
21 May 2003; Tavis Ormandy <taviso@gentoo.org> libnet-1.1.0-r1.ebuild:
arking stable on alpha.
diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 39faafa523e8..154a3ac51421 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -1,8 +1,9 @@
-MD5 7ee470c2259dc9aa39748893133ad2f9 libnet-1.1.0-r1.ebuild 1272
-MD5 eb5cf5e0ea8a5f58d18a907cf2aeda00 libnet-1.0.2a-r2.ebuild 960
-MD5 f58681eeeb86987b4a6e96bd7f07c932 ChangeLog 2440
+MD5 6d43a743008b4412fba623e1091288bc ChangeLog 2564
MD5 dcc85e6f91bb7bef691701db18ac5b3b libnet-1.0.2a-r1.ebuild 1018
+MD5 fc4c04e7c0261deace35bab01b1fa5b9 libnet-1.0.2a-r2.ebuild 1029
+MD5 7ee470c2259dc9aa39748893133ad2f9 libnet-1.1.0-r1.ebuild 1272
MD5 2206e4eed47ef9c83c5a58287d60d3b5 libnet-1.1.0.ebuild 935
+MD5 503929f0e619836305f1e58a151baee4 files/libnet-gcc33-fix 563
MD5 d43e05bf93cf1aa86c23be9c1ab2f009 files/digest-libnet-1.0.2a-r1 58
MD5 d43e05bf93cf1aa86c23be9c1ab2f009 files/digest-libnet-1.0.2a-r2 58
MD5 dee8fc87567b0aca2bfdc055d60a5151 files/digest-libnet-1.1.0 64
diff --git a/net-libs/libnet/files/libnet-gcc33-fix b/net-libs/libnet/files/libnet-gcc33-fix
new file mode 100644
index 000000000000..6f711abc8ebf
--- /dev/null
+++ b/net-libs/libnet/files/libnet-gcc33-fix
@@ -0,0 +1,13 @@
+--- Libnet-1.0.2a-orig/include/libnet.h 2001-02-07 00:19:25.000000000 +0100
++++ Libnet-1.0.2a/include/libnet.h 2003-07-24 18:34:33.000000000 +0200
+@@ -84,8 +84,8 @@
+ #define LIBNET_VERSION "1.0.2a"
+
+ #if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN)
+-#error "byte order has not been specified, you'll
+-need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
++#error "byte order has not been specified, you'll \
++need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the \
+ documentation regarding the libnet-config script."
+ #endif
+
diff --git a/net-libs/libnet/libnet-1.0.2a-r2.ebuild b/net-libs/libnet/libnet-1.0.2a-r2.ebuild
index 0a0cb2fe64c9..19ffbb2a5665 100644
--- a/net-libs/libnet/libnet-1.0.2a-r2.ebuild
+++ b/net-libs/libnet/libnet-1.0.2a-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r2.ebuild,v 1.7 2003/05/23 09:58:13 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r2.ebuild,v 1.8 2003/07/24 16:39:03 hanno Exp $
S=${WORKDIR}/Libnet-1.0.2a
DESCRIPTION="library to provide an API for commonly used low-level network
@@ -15,7 +15,12 @@ SLOT="1.0"
LICENSE="LGPL-2"
KEYWORDS="x86 ppc sparc arm alpha"
-src_compile(){
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/libnet-gcc33-fix
+}
+
+src_compile() {
econf || die
emake CFLAGS="${CFLAGS}" || die "Failed to compile"
}