lxpanel: fix aarch64-musl
This commit is contained in:
parent
06b19e5561
commit
8c3acb1d7d
|
@ -1,6 +1,10 @@
|
|||
--- a/plugins/netstat/devproc.c
|
||||
+++ b/plugins/netstat/devproc.c
|
||||
@@ -25,15 +25,15 @@
|
||||
@@ -26,18 +26,19 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <netinet/if_ether.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
||||
#include <arpa/inet.h>
|
||||
|
|
|
@ -17,6 +17,10 @@ distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
|
|||
checksum=516ac4c83494ee99b2a0d2466458519a9a2668272eeff6d2162af3683b634104
|
||||
patch_args="-p1"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64-musl) CFLAGS="-D_LINUX_IF_ETHER_H";;
|
||||
esac
|
||||
|
||||
lxpanel-devel_package() {
|
||||
depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue