--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@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 <corsac@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
--- End Message ---
--- Begin Message ---
On 2014-11-06 15:52, Peter Michael Green wrote:
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.
Interesting formatting in the changelog, but unblocked.
Thanks,
--
Jonathan Wiltshire jmw@debian.org
Debian Developer http://people.debian.org/~jmw
4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51
<directhex> i have six years of solaris sysadmin experience, from
8->10. i am well qualified to say it is made from bonghits
layered on top of bonghits
--- End Message ---