void-packages/srcpkgs/lxpanel/patches/10-devproc-lxpanel.patch
Jürgen Buchmüller 90e32b456f lxpanel: fix musl
With new kernel libc headers lxpanel needs a fix for musl libc
to not include netinet/if_ether.h but only linux/if_ether.h.
Also liblxpanel.so.0 was missing in common/shlibs.
2017-02-09 21:16:19 +01:00

11 lines
355 B
Diff

--- plugins/netstat/devproc.c 2015-07-14 11:07:22.000000000 +0200
+++ plugins/netstat/devproc.c 2017-02-09 21:01:08.348058591 +0100
@@ -27,6 +27,8 @@
#include <sys/ioctl.h>
#include <netinet/in.h>
+#include <linux/if_ether.h>
+#define _NETINET_IF_ETHER_H
#include <net/if.h>
#include <net/if_arp.h>
#include <arpa/inet.h>
#include <linux/sockios.h>