source: clfs-embedded/patches/busybox-1.21.1-musl-1.patch@ bfed8f5

Last change on this file since bfed8f5 was 76135be, checked in by Andrew Bradford <andrew@…>, 11 years ago

Add busybox-musl patch

Required in order to build busybox released version 1.21.1.

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[76135be]1Submitted By: Andrew Bradford <andrew@bradfordembedded.com>
2Date: 2013-10-16
3Initial Package Version: 1.21.1
4Origin: Buildroot git and BusyBox git
5Upstream Status: ifconfig.c and partially iplink.c yes, libbb.h no
6Description: Patches to BusyBox to build for musl-libc.
7
8diff -Naur busybox-1.21.1-orig/include/libbb.h busybox-1.21.1/include/libbb.h
9--- busybox-1.21.1-orig/include/libbb.h 2013-06-29 10:58:06.000000000 -0400
10+++ busybox-1.21.1/include/libbb.h 2013-10-16 10:38:04.222276525 -0400
11@@ -37,7 +37,7 @@
12 #include <libgen.h> /* dirname,basename */
13 #undef basename
14 #define basename dont_use_basename
15-#include <sys/poll.h>
16+#include <poll.h>
17 #include <sys/ioctl.h>
18 #include <sys/mman.h>
19 #include <sys/socket.h>
20diff -Naur busybox-1.21.1-orig/networking/ifconfig.c busybox-1.21.1/networking/ifconfig.c
21--- busybox-1.21.1-orig/networking/ifconfig.c 2013-05-11 19:30:43.000000000 -0400
22+++ busybox-1.21.1/networking/ifconfig.c 2013-10-16 10:37:51.628945111 -0400
23@@ -56,7 +56,7 @@
24 #endif
25
26 #if ENABLE_FEATURE_IFCONFIG_SLIP
27-# include <net/if_slip.h>
28+# include <linux/if_slip.h>
29 #endif
30
31 /* I don't know if this is needed for busybox or not. Anyone? */
32diff -Naur busybox-1.21.1-orig/networking/libiproute/iplink.c busybox-1.21.1/networking/libiproute/iplink.c
33--- busybox-1.21.1-orig/networking/libiproute/iplink.c 2013-05-11 19:30:43.000000000 -0400
34+++ busybox-1.21.1/networking/libiproute/iplink.c 2013-10-16 10:59:59.925471509 -0400
35@@ -5,8 +5,7 @@
36 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
37 */
38 #include <net/if.h>
39-#include <net/if_packet.h>
40-#include <netpacket/packet.h>
41+#include <linux/if_packet.h>
42 #include <netinet/if_ether.h>
43
44 #include "ip_common.h" /* #include "libbb.h" is inside */
Note: See TracBrowser for help on using the repository browser.