On Nov 13, 2016 2:49 PM, "Ken Moffat" <[email protected]> wrote:
>
> I'm trying to fix the build failure in net-tools-CVS which bit me
> earlier this afternoon.  Google found an initial report at
> https://sourceforge.net/p/net-tools/mailman/message/35413022/ and
> the upstream commit is
>
https://sourceforge.net/p/net-tools/code/ci/45d573a89386c934d3ebac499d00c1670437813b/
> i.e.
>
> --- a/iptunnel.c
> +++ b/iptunnel.c
> @@ -26,7 +26,6 @@
>  #include <sys/socket.h>
>  #include <sys/ioctl.h>
>  #include <netinet/in.h>
> -#include <netinet/ip.h>
>  #include <arpa/inet.h>
>  #include <net/if.h>
>  #include <net/if_arp.h>
>
> A simple one-line deletion, for which we prefer a sed.  So, with the
> slash escaped:
> sed -i '/#include <netinet\/ip.h>/d'  iptunnel.c
>
> But that does not validate.  I tried changing the quotes to double
> quotes, but no change -
>
> Adjusting for revision sysv...
> networking/netprogs/net-tools.xml:107: parser error : error parsing
> attribute name
> sed -i "/#include <netinet\/ip.h>/d"  iptunnel.c &amp;&amp;
>                           ^
> networking/netprogs/net-tools.xml:107: parser error : attributes
> construct error
> sed -i "/#include <netinet\/ip.h>/d"  iptunnel.c &amp;&amp;
>                           ^
> etc.
>
> Any suggestions, please ?
>
> ĸen
> --
> `I shall take my mountains', said Lu-Tze. `The climate will be good
> for them.'     -- Small Gods

Somebody sent Bruce a fix for it already I think. I'm mobile so I don't
have access to the archives currently, but it was sometime last month on
blfs-dev if I recall.

Douglas R. Reno
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to