From ed80fbf036a40411e1b2b3b1334cbd555e4d6324 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 16 Sep 2003 23:46:55 +0000 Subject: Fix build with gcc3, reported by Soren Jacobsen PR pkg/22822. --- devel/libnet/distinfo | 3 ++- devel/libnet/patches/patch-ab | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 devel/libnet/patches/patch-ab (limited to 'devel/libnet') diff --git a/devel/libnet/distinfo b/devel/libnet/distinfo index 057832fd813..361f0df9c08 100644 --- a/devel/libnet/distinfo +++ b/devel/libnet/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 00:44:28 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/09/16 23:46:55 xtraeme Exp $ SHA1 (libnet-1.0.1b.tar.gz) = 799d14bbc6ec909fb5fc9d7ac5183224f6c84ef5 Size (libnet-1.0.1b.tar.gz) = 233325 bytes SHA1 (patch-aa) = 876755183045f277dd7c113cf1e8c591063058af +SHA1 (patch-ab) = 2bb117012b2a7e775b358e4dad6ae67757f5eb1f diff --git a/devel/libnet/patches/patch-ab b/devel/libnet/patches/patch-ab new file mode 100644 index 00000000000..ee084febf3f --- /dev/null +++ b/devel/libnet/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2003/09/16 23:46:56 xtraeme Exp $ + +--- include/libnet.h.orig 2000-04-07 10:45:29.000000000 -0700 ++++ include/libnet.h 2003-09-16 09:32:48.000000000 -0700 +@@ -84,8 +84,8 @@ + #define LIBNET_VERSION "1.0.1b" + + #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 -- cgit v1.2.3