lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 95f5cf9c04b64a978cdaf167d8fdd9f784ae8987
parent 91e9675264212abdc23222e72c9b064ccc452dc7
Author: Luka Perkov <luka.perkov@sartura.hr>
Date:   Thu, 18 Jun 2015 23:49:41 +0200

Merge pull request #1410 from jow-/libnet-musl-compat

libnet-1.2.x: fix musl compatiblity
Diffstat:
Mlibs/libnet-1.2.x/Makefile | 2+-
Alibs/libnet-1.2.x/patches/100-musl-compat.patch | 11+++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/libs/libnet-1.2.x/Makefile b/libs/libnet-1.2.x/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnet PKG_VERSION:=1.2-rc3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://sourceforge.net/projects/libnet-dev/files/ diff --git a/libs/libnet-1.2.x/patches/100-musl-compat.patch b/libs/libnet-1.2.x/patches/100-musl-compat.patch @@ -0,0 +1,11 @@ +--- a/src/libnet_link_linux.c ++++ b/src/libnet_link_linux.c +@@ -30,7 +30,7 @@ + #include <sys/time.h> + + #include <net/if.h> +-#if (__GLIBC__) ++#if (!__UCLIBC__) + #include <netinet/if_ether.h> + #include <net/if_arp.h> + #else