Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package xfce4-battery-plugin

This update fixes the build on arm64 where the deprecated binary sysctl
interface is not available. It should be a no-op on architectures where
the binary sysctl interface is available.

unblock xfce4-battery-plugin/1.0.5-4

diff -Nru xfce4-battery-plugin-1.0.5/debian/changelog 
xfce4-battery-plugin-1.0.5/debian/changelog
--- xfce4-battery-plugin-1.0.5/debian/changelog 2014-10-15 14:37:43.000000000 
+0100
+++ xfce4-battery-plugin-1.0.5/debian/changelog 2014-11-02 14:55:35.000000000 
+0000
@@ -1,3 +1,11 @@
+xfce4-battery-plugin (1.0.5-4) unstable; urgency=medium
+
+  * debian/patches:
+    - 01_no-sysctl added, don't fail to build if sysctl.h is not available
+    since it's deprecated anyway.                               closes: #766766
+
+ -- Yves-Alexis Perez <cor...@debian.org>  Sun, 02 Nov 2014 15:55:33 +0100
+
 xfce4-battery-plugin (1.0.5-3) unstable; urgency=low
 
   [ Evgeni Golov ]
diff -Nru xfce4-battery-plugin-1.0.5/debian/patches/01_no-sysctl.patch 
xfce4-battery-plugin-1.0.5/debian/patches/01_no-sysctl.patch
--- xfce4-battery-plugin-1.0.5/debian/patches/01_no-sysctl.patch        
1970-01-01 01:00:00.000000000 +0100
+++ xfce4-battery-plugin-1.0.5/debian/patches/01_no-sysctl.patch        
2014-11-02 14:55:29.000000000 +0000
@@ -0,0 +1,19 @@
+--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c
++++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c
+@@ -50,12 +50,13 @@ static int      acpifd;
+ #endif
+ 
+ #include <sys/sysctl.h>
++
++#endif
++
+ #include <err.h>
+ #include <errno.h>
+ #include <unistd.h>
+ 
+-#endif
+-
+ #include "libacpi.h"
+ 
+ #define ACBASE "/proc/acpi/ac_adapter"
+
\ No newline at end of file
diff -Nru xfce4-battery-plugin-1.0.5/debian/patches/series 
xfce4-battery-plugin-1.0.5/debian/patches/series
--- xfce4-battery-plugin-1.0.5/debian/patches/series    1970-01-01 
01:00:00.000000000 +0100
+++ xfce4-battery-plugin-1.0.5/debian/patches/series    2014-11-02 
14:55:29.000000000 +0000
@@ -0,0 +1 @@
+01_no-sysctl.patch

Reply via email to