[Pkg-xfce-commits] r8749 - in /goodies/trunk/xfce4-netload-plugin/debian: changelog patches/01_drop-include-sysctl.h.patch patches/series
Yves-Alexis Perez
corsac at moszumanska.debian.org
Sat Jan 24 12:27:59 UTC 2015
Author: corsac
Date: Sat Jan 24 12:27:59 2015
New Revision: 8749
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8749
Log:
* debian/patches:
- 01_drop-include-sysctl.h added, don't include obsolete sys/sysctl.h. Fix
FTBDS on new architectures. closes: #776124
Added:
goodies/trunk/xfce4-netload-plugin/debian/patches/01_drop-include-sysctl.h.patch
goodies/trunk/xfce4-netload-plugin/debian/patches/series
Modified:
goodies/trunk/xfce4-netload-plugin/debian/changelog
Modified: goodies/trunk/xfce4-netload-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-netload-plugin/debian/changelog?rev=8749&op=diff
==============================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/changelog (original)
+++ goodies/trunk/xfce4-netload-plugin/debian/changelog Sat Jan 24 12:27:59 2015
@@ -11,6 +11,9 @@
[ Yves-Alexis Perez ]
* debian/rules:
- update paths for .a/.la files removal.
+ * debian/patches:
+ - 01_drop-include-sysctl.h added, don't include obsolete sys/sysctl.h. Fix
+ FTBDS on new architectures. closes: #776124
-- Jackson Doak <noskcaj at ubuntu.com> Sun, 23 Nov 2014 08:36:02 +1100
Added: goodies/trunk/xfce4-netload-plugin/debian/patches/01_drop-include-sysctl.h.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-netload-plugin/debian/patches/01_drop-include-sysctl.h.patch?rev=8749&op=file
==============================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/patches/01_drop-include-sysctl.h.patch (added)
+++ goodies/trunk/xfce4-netload-plugin/debian/patches/01_drop-include-sysctl.h.patch Sat Jan 24 12:27:59 2015
@@ -0,0 +1,17 @@
+Description: drop #include <sys/sysctl.h> on Linux
+ The sysctl syscall is gone for ages -- depending on architecture, it will
+ either spam syslog at runtime or fail to compile at all. As we don't
+ actually call it, the former is benign... but the latter is fatal on
+ new architectures.
+Author: Adam Borowski <kilobyte at angband.pl>
+
+--- xfce4-netload-plugin-1.2.0.orig/panel-plugin/os.h
++++ xfce4-netload-plugin-1.2.0/panel-plugin/os.h
+@@ -170,7 +170,6 @@
+ #elif __linux__ /* L I N U X */
+ # include <stdio.h>
+ # include <sys/param.h>
+-# include <sys/sysctl.h>
+ # include <stdlib.h>
+ # include <stdarg.h>
+ # include <unistd.h>
Added: goodies/trunk/xfce4-netload-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-netload-plugin/debian/patches/series?rev=8749&op=file
==============================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/patches/series (added)
+++ goodies/trunk/xfce4-netload-plugin/debian/patches/series Sat Jan 24 12:27:59 2015
@@ -0,0 +1 @@
+01_drop-include-sysctl.h.patch
More information about the Pkg-xfce-commits
mailing list