Opened 21 years ago

Last modified 9 years ago

#790 closed defect

UPDATE libnet-1.0.2a — at Initial Version

Reported by: cqexbesd (Andrew Stevenson) Owned by: jpm@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: libnet

Description

The libnet port doesn't install using gcc 3.3 due to a multiline double quoted string. Below is a patch to fix it.

--- Portfile 18 Mar 2003 08:03:54 -0000 1.10 +++ Portfile 16 Aug 2003 13:12:02 -0000 @@ -26,7 +26,7 @@

master_sites http://www.packetfactory.net/libnet/dist/deprecated/ checksums md5 ddf53f0f484184390e8c2a1bd0853667 depends_build path:/usr/include/netinet/ip_var.h:netinet-headers

-patchfiles patch-Makefile +patchfiles patch-Makefile patch-include-libnet.h

worksrcdir Libnet-${version}

variant darwin {

Also needed is files/patch-include-libnet.h

--- include/libnet.h.orig Sat Aug 16 23:04:16 2003 +++ include/libnet.h Sat Aug 16 23:04:46 2003 @@ -84,9 +84,7 @@

#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 */

Change History (0)

Note: See TracTickets for help on using tickets.