Subject: pkg/22822: devel/libnet doesn't compile with gcc3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <soren@lothar.blef.org>
List: netbsd-bugs
Date: 09/16/2003 09:38:29
>Number:         22822
>Category:       pkg
>Synopsis:       devel/libnet doesn't compile with gcc3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 16 23:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Soren Jacobsen
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
pkgsrc as of 09/16/2003.
>Description:
Multi-line string literals are used, and gcc barfs on them.
>How-To-Repeat:
Try to build with gcc 3.3.1.
>Fix:
Add patch-ab, regen distinfo.
$NetBSD$

--- 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
 
>Release-Note:
>Audit-Trail:
>Unformatted: