! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] fix to compile on aarch64
Status:
RESOLVED: FIXED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Kevin Fenzi 2015-03-19 16:09:57 CET
The following is needed to build xfce4-battery-plugin on aarch64: 

Index: xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
===================================================================
--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c
+++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <glob.h>
+#include <unistd.h>
 
 #ifdef __FreeBSD__
 #include <fcntl.h>
@@ -52,7 +53,6 @@ static int      acpifd;
 #include <sys/sysctl.h>
 #include <err.h>
 #include <errno.h>
-#include <unistd.h>
 
 #endif
Comment 1 Landry Breuil editbugs 2015-03-19 20:42:49 CET
Thx, applied in 0f69264

Bug #11724

Reported by:
Kevin Fenzi
Reported on: 2015-03-19
Last modified on: 2015-03-19

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Attachments

Additional information