This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#1410
from jow-/libnet-musl-compat
libnet-1.2.x: fix musl compatiblity
lilik-openwrt-22.03
Luka Perkov
10 years ago
parent
91e9675264
e4925c1efd
commit
95f5cf9c04
2 changed files
with
12 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libs/libnet-1.2.x/Makefile
+11
-0
libs/libnet-1.2.x/patches/100-musl-compat.patch
+ 1
- 1
libs/libnet-1.2.x/Makefile
View File
@ -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/
+ 11
- 0
libs/libnet-1.2.x/patches/100-musl-compat.patch
View File
@ -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
Write
Preview
Loading…
Cancel
Save