# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../iputils/compile.patch.dietlibc # Copyright (C) 2016 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- ./Makefile.orig 2006-07-07 21:40:12.000000000 +0000 +++ ./Makefile 2006-07-07 21:40:24.000000000 +0000 @@ -5,7 +5,6 @@ DEFINES= #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) -LDLIBS=-lresolv ADDLIB= ifeq ($(LIBC_INCLUDE)/socketbits.h,$(wildcard $(LIBC_INCLUDE)/socketbits.h)) --- ./ping.c.orig 2006-07-07 21:56:01.000000000 +0000 +++ ./ping.c 2006-07-07 21:56:20.000000000 +0000 @@ -61,7 +61,6 @@ #include "ping_common.h" #include -#include #define MAXIPLEN 60 --- ./ping_common.c.orig 2002-09-20 16:02:32.000000000 +0000 +++ ./ping_common.c 2006-07-07 21:58:57.000000000 +0000 @@ -1,6 +1,7 @@ #include "ping_common.h" #include #include +#include int options; --- ./ping_common.h.orig 2006-07-07 21:48:15.000000000 +0000 +++ ./ping_common.h 2006-07-07 22:06:28.000000000 +0000 @@ -9,6 +9,8 @@ #include #include #include +#include +#include #include #include #include @@ -37,6 +38,8 @@ #define CLR(bit) (A(bit) &= (~B(bit))) #define TST(bit) (A(bit) & B(bit)) +#define __constant_htons(N) htons(N) + /* various options */ extern int options; #define F_FLOOD 0x001 --- ./tracepath6.c.orig 2006-07-07 22:08:22.000000000 +0000 +++ ./tracepath6.c 2006-07-07 22:08:48.000000000 +0000 @@ -15,7 +15,6 @@ #include #include -#include #include #include #include --- ./traceroute6.c.orig 2006-07-07 22:09:53.000000000 +0000 +++ ./traceroute6.c 2006-07-07 22:10:30.000000000 +0000 @@ -247,7 +247,4 @@ #include - -#include -#include #include --- ./ping6.c.orig 2006-07-07 22:12:25.000000000 +0000 +++ ./ping6.c 2006-07-07 22:12:44.000000000 +0000 @@ -69,7 +69,5 @@ #include "ping_common.h" -#include -#include #include #define BIT_CLEAR(nr, addr) do { ((__u32 *)(addr))[(nr) >> 5] &= ~(1U << ((nr) & 31)); } while(0)