ports/54612: Update net/libnet: fix build with gcc-3.3

Kirill Ponomarew ponomarew at oberon.net
Fri Jul 18 11:20:11 UTC 2003


>Number:         54612
>Category:       ports
>Synopsis:       Update net/libnet: fix build with gcc-3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 04:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
Update net/libnet: fix build with gcc-3.3

Reported by bento:
http://bento.freebsd.org/errorlogs/i386-5-latest/libnet-1.0.2a,1.log

>How-To-Repeat:
>Fix:
diff -urN libnet.orig/files/patch-include::libnet.h libnet/files/patch-include::libnet.h
--- libnet.orig/files/patch-include::libnet.h	Thu Jan  1 01:00:00 1970
+++ libnet/files/patch-include::libnet.h	Fri Jul 18 13:12:40 2003
@@ -0,0 +1,15 @@
+--- include/libnet.h.orig	Fri Jul 18 15:11:05 2003
++++ include/libnet.h	Fri Jul 18 15:12:16 2003
+@@ -84,9 +84,9 @@
+ #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
+-documentation regarding the libnet-config script."
++#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
+ 
+ #endif  /* __LIBNET_H */
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list