Ken Moffat 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 && ^ networking/netprogs/net-tools.xml:107: parser error : attributes construct error sed -i "/#include <netinet\/ip.h>/d" iptunnel.c && ^ etc. Any suggestions, please ?
For the xml, you need < and > entities. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
