t003-fix-musl-headers.diff - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       t003-fix-musl-headers.diff (2616B)
       ---
            1 diff -Naur iputils-s20121221.orig/arping.c iputils-s20121221/arping.c
            2 --- iputils-s20121221.orig/arping.c        2012-12-21 14:01:07.000000000 +0000
            3 +++ iputils-s20121221/arping.c        2014-01-23 21:19:57.091268011 +0000
            4 @@ -16,7 +16,7 @@
            5  #include <linux/sockios.h>
            6  #include <sys/file.h>
            7  #include <sys/time.h>
            8 -#include <sys/signal.h>
            9 +#include <signal.h>
           10  #include <sys/ioctl.h>
           11  #include <net/if.h>
           12  #include <linux/if_packet.h>
           13 --- iputils-s20121221.orig/clockdiff.c        2012-12-21 14:01:07.000000000 +0000
           14 +++ iputils-s20121221/clockdiff.c        2014-01-23 21:19:57.093268011 +0000
           15 @@ -14,7 +14,6 @@
           16  #include <netinet/ip.h>
           17  #include <netinet/ip_icmp.h>
           18  #define TSPTYPES
           19 -#include <protocols/timed.h>
           20  #include <fcntl.h>
           21  #include <netdb.h>
           22  #include <arpa/inet.h>
           23 diff -Naur iputils-s20121221.orig/ping_common.h iputils-s20121221/ping_common.h
           24 --- iputils-s20121221.orig/ping_common.h        2012-12-21 14:01:07.000000000 +0000
           25 +++ iputils-s20121221/ping_common.h        2014-01-23 21:27:07.677292088 +0000
           26 @@ -7,16 +7,17 @@
           27  #include <linux/sockios.h>
           28  #include <sys/file.h>
           29  #include <sys/time.h>
           30 -#include <sys/signal.h>
           31 +#include <signal.h>
           32  #include <sys/ioctl.h>
           33  #include <net/if.h>
           34  #include <sys/uio.h>
           35 -#include <sys/poll.h>
           36 +#include <poll.h>
           37  #include <ctype.h>
           38  #include <errno.h>
           39  #include <string.h>
           40  #include <netdb.h>
           41  #include <setjmp.h>
           42 +#include <asm-generic/param.h>
           43  
           44  #ifdef CAPABILITIES
           45  #include <sys/prctl.h>
           46 --- iputils-s20121221.orig/rarpd.c        2014-01-24 13:38:46.816551953 +0000
           47 +++ iputils-s20121221/rarpd.c        2014-01-24 13:36:51.833545524 +0000
           48 @@ -19,16 +19,17 @@
           49  #include <netdb.h>
           50  #include <arpa/inet.h>
           51  #include <sys/ioctl.h>
           52 -#include <sys/poll.h>
           53 -#include <sys/errno.h>
           54 -#include <sys/fcntl.h>
           55 +#include <poll.h>
           56 +#include <errno.h>
           57 +#include <fcntl.h>
           58  #include <sys/socket.h>
           59 -#include <sys/signal.h>
           60 +#include <signal.h>
           61  #include <linux/if.h>
           62  #include <linux/if_arp.h>
           63  #include <netinet/in.h>
           64  #include <linux/if_packet.h>
           65  #include <linux/filter.h>
           66 +#include <sys/types.h>
           67  
           68  int do_reload = 1;
           69  
           70 --- iputils-s20121221.orig/tracepath.c        2014-01-24 13:38:46.865551956 +0000
           71 +++ iputils-s20121221/tracepath.c        2014-01-23 21:19:57.109268012 +0000
           72 @@ -23,6 +23,7 @@
           73  #include <sys/time.h>
           74  #include <sys/uio.h>
           75  #include <arpa/inet.h>
           76 +#include <limits.h>
           77  #ifdef USE_IDN
           78  #include <idna.h>
           79  #include <locale.h>
           80 --- iputils-s20121221.orig/tracepath6.c        2014-01-24 13:38:46.865551956 +0000
           81 +++ iputils-s20121221/tracepath6.c        2014-01-23 21:20:40.316270428 +0000
           82 @@ -25,6 +25,7 @@
           83  #include <sys/time.h>
           84  #include <sys/uio.h>
           85  #include <arpa/inet.h>
           86 +#include <limits.h>
           87  
           88  #ifdef USE_IDN
           89  #include <idna.h>