mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
Merge pull request #1410 from jow-/libnet-musl-compat
libnet-1.2.x: fix musl compatiblity
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user