summaryrefslogtreecommitdiff
path: root/x11-misc/xbatt/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xbatt/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xbatt/files')
-rw-r--r--x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
new file mode 100644
index 000000000000..d86e42ef3fc8
--- /dev/null
+++ b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
@@ -0,0 +1,14 @@
+Fix implicit functions declarations
+
+--- xbatt.c
++++ xbatt.c
+@@ -47,6 +47,9 @@
+ #include <time.h>
+ #include <sys/file.h>
+ #include <sys/ioctl.h>
++#include <unistd.h>
++#include <stdlib.h>
++#include <X11/IntrinsicP.h>
+ #include <X11/StringDefs.h>
+ #include <X11/Intrinsic.h>
+ #include <X11/Shell.h>