aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-battery-plugin/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 06:50:39 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 06:50:39 +0000
commit6f91e7dfe729fdb8517a16612d1924f818c20d03 (patch)
tree40b4ab2b8bd1c551a437434e3ff9c6bf8dce366a /main/xfce4-battery-plugin/fix-includes.patch
parenteb003dc69ed816f08868ef4ebdac899d013cff72 (diff)
downloadaports-6f91e7dfe729fdb8517a16612d1924f818c20d03.tar.gz
aports-6f91e7dfe729fdb8517a16612d1924f818c20d03.tar.bz2
aports-6f91e7dfe729fdb8517a16612d1924f818c20d03.tar.xz
main/xfce4-battery-plugin: fix musl build
Diffstat (limited to 'main/xfce4-battery-plugin/fix-includes.patch')
-rw-r--r--main/xfce4-battery-plugin/fix-includes.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/xfce4-battery-plugin/fix-includes.patch b/main/xfce4-battery-plugin/fix-includes.patch
new file mode 100644
index 0000000000..de78c8c835
--- /dev/null
+++ b/main/xfce4-battery-plugin/fix-includes.patch
@@ -0,0 +1,14 @@
+--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c
++++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
+@@ -52,9 +52,10 @@
+ #include <sys/sysctl.h>
+ #include <err.h>
+ #include <errno.h>
+-#include <unistd.h>
+
+ #endif
++
++#include <unistd.h>
+
+ #include "libacpi.h"
+