[Goodies-dev] [Bug 11724] New: [PATCH] fix to compile on aarch64

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Mar 19 16:09:57 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11724

            Bug ID: 11724
           Summary: [PATCH] fix to compile on aarch64
    Classification: Panel Plugins
           Product: Xfce4-battery-plugin
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: goodies-dev at xfce.org
          Reporter: kevin at scrye.com
        QA Contact: goodies-dev at xfce.org

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Goodies-dev mailing list