#790 closed defect (fixed)
UPDATE libnet-1.0.2a
Reported by: | cqexbesd (Andrew Stevenson) | Owned by: | fkr@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | jpm@…, fkr@… | |
Port: | libnet |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (6)
comment:1 Changed 21 years ago by cqexbesd (Andrew Stevenson)
comment:2 Changed 21 years ago by fkr@…
Cc: | fkr@… added |
---|
comment:3 Changed 21 years ago by fkr@…
blocked: | → 791 |
---|
comment:4 Changed 21 years ago by fkr@…
Cc: | jpm@… added |
---|---|
Owner: | changed from jpm@… to fkr@… |
I'm looking at this right now. Jean-Pierre, is this ok with you?
-fkr
comment:5 Changed 21 years ago by fkr@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comitted the fix. thanks. -fkr
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | libnet added |
Note: See
TracTickets for help on using
tickets.
Should revision be bumped by 1? I'm still new to darwinports...