[MacPorts] #790: UPDATE libnet-1.0.2a

MacPorts noreply at macports.org
Thu Mar 24 06:27:15 PDT 2016


#790: UPDATE libnet-1.0.2a
-----------------------+--------------------
  Reporter:  andrew@…  |      Owner:  fkr@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  1.0
Resolution:  fixed     |   Keywords:
      Port:  libnet    |
-----------------------+--------------------
Changes (by ryandesign@…):

 * port:   => libnet


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

New 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 */
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/790#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list