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

Last change on this file since 88db791 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
  • include/libbb.h

    Submitted By: Andrew Bradford <andrew@bradfordembedded.com>
    Date: 2013-10-16
    Initial Package Version: 1.21.1
    Origin: Buildroot git and BusyBox git
    Upstream Status: ifconfig.c and partially iplink.c yes, libbb.h no
    Description: Patches to BusyBox to build for musl-libc.
    
    diff -Naur busybox-1.21.1-orig/include/libbb.h busybox-1.21.1/include/libbb.h
    old new  
    3737#include <libgen.h> /* dirname,basename */
    3838#undef basename
    3939#define basename dont_use_basename
    40 #include <sys/poll.h>
     40#include <poll.h>
    4141#include <sys/ioctl.h>
    4242#include <sys/mman.h>
    4343#include <sys/socket.h>
  • networking/ifconfig.c

    diff -Naur busybox-1.21.1-orig/networking/ifconfig.c busybox-1.21.1/networking/ifconfig.c
    old new  
    5656#endif
    5757
    5858#if ENABLE_FEATURE_IFCONFIG_SLIP
    59 # include <net/if_slip.h>
     59# include <linux/if_slip.h>
    6060#endif
    6161
    6262/* I don't know if this is needed for busybox or not.  Anyone? */
  • networking/libiproute/iplink.c

    diff -Naur busybox-1.21.1-orig/networking/libiproute/iplink.c busybox-1.21.1/networking/libiproute/iplink.c
    old new  
    55 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    66 */
    77#include <net/if.h>
    8 #include <net/if_packet.h>
    9 #include <netpacket/packet.h>
     8#include <linux/if_packet.h>
    109#include <netinet/if_ether.h>
    1110
    1211#include "ip_common.h"  /* #include "libbb.h" is inside */
Note: See TracBrowser for help on using the repository browser.