Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 13:14:53 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54612: Update net/libnet: fix build with gcc-3.3
Message-ID:  <E19dTCP-000Grx-Va@voodoo.oberon.net>
Resent-Message-ID: <200307181120.h6IBKAIw097998@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19dTCP-000Grx-Va>