mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
lxpanel: fix aarch64-musl
This commit is contained in:
parent
06b19e5561
commit
8c3acb1d7d
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
--- a/plugins/netstat/devproc.c
|
--- a/plugins/netstat/devproc.c
|
||||||
+++ b/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.h>
|
||||||
#include <net/if_arp.h>
|
#include <net/if_arp.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
|
@ -17,6 +17,10 @@ distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
|
||||||
checksum=516ac4c83494ee99b2a0d2466458519a9a2668272eeff6d2162af3683b634104
|
checksum=516ac4c83494ee99b2a0d2466458519a9a2668272eeff6d2162af3683b634104
|
||||||
patch_args="-p1"
|
patch_args="-p1"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64-musl) CFLAGS="-D_LINUX_IF_ETHER_H";;
|
||||||
|
esac
|
||||||
|
|
||||||
lxpanel-devel_package() {
|
lxpanel-devel_package() {
|
||||||
depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
|
depends="menu-cache-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue