Hello community,
here is the log from the commit of package xfce4-panel-plugin-diskperf for
openSUSE:Factory checked in at 2019-02-19 12:00:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel-plugin-diskperf (Old)
and /work/SRC/openSUSE:Factory/.xfce4-panel-plugin-diskperf.new.28833
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-panel-plugin-diskperf"
Tue Feb 19 12:00:42 2019 rev:16 rq:676993 version:2.6.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/xfce4-panel-plugin-diskperf/xfce4-panel-plugin-diskperf.changes
2017-04-29 10:52:52.493732375 +0200
+++
/work/SRC/openSUSE:Factory/.xfce4-panel-plugin-diskperf.new.28833/xfce4-panel-plugin-diskperf.changes
2019-02-19 12:01:56.469090232 +0100
@@ -1,0 +2,6 @@
+Sun Feb 17 16:38:14 UTC 2019 - Maurizio Galli <[email protected]>
+
+- Added patch missing_sysmacros.patch
+ sys/sysmacros.h required for glibc-2.25+ (bxo#13940) and (boo#1125650)
+
+-------------------------------------------------------------------
New:
----
missing_sysmacros.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-panel-plugin-diskperf.spec ++++++
--- /var/tmp/diff_new_pack.dASdHs/_old 2019-02-19 12:01:58.257089307 +0100
+++ /var/tmp/diff_new_pack.dASdHs/_new 2019-02-19 12:01:58.261089306 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xfce4-panel-plugin-diskperf
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,17 +22,19 @@
Version: 2.6.1
Release: 0
Summary: Disk Performance Plugin for the Xfce Panel
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/GUI/XFCE
Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
Source0:
http://archive.xfce.org/src/panel-plugins/%{plugin_name}/2.6/%{plugin_name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM missing_sysmacros.patch [email protected] --
Support <sys/sysmacros.h> include required for glibc-2.25+
+# Fix for bxo#13940
+Patch1: missing_sysmacros.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{panel_version}
BuildRequires: pkgconfig(libxfce4ui-2) >= %{panel_version}
Requires: xfce4-panel >= %{panel_version}
Recommends: %{name}-lang = %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The DiskPerf plugin displays the disk/partition performance as trasferred data
@@ -42,10 +44,11 @@
%prep
%setup -q -n %{plugin_name}-%{version}
+%patch1 -p1
%build
%configure --disable-static
-make %{?_smp_mflags} V=1
+%make_build
%install
%make_install
@@ -58,12 +61,11 @@
%fdupes %{buildroot}%{_datadir}
%files
-%defattr(-,root,root)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS ChangeLog NEWS README
+%license COPYING
%{_libdir}/xfce4/panel/plugins/libdiskperf.so
%{_datadir}/xfce4/panel/plugins/diskperf.desktop
%files lang -f %{name}.lang
-%defattr(-,root,root)
%changelog
++++++ missing_sysmacros.patch ++++++
diff -rub xfce4-diskperf-plugin-2.6.1/panel-plugin/devperf.c
xfce4-diskperf-plugin-2.6.1-patched/panel-plugin/devperf.c
--- xfce4-diskperf-plugin-2.6.1/panel-plugin/devperf.c 2017-02-25
17:57:00.000000000 +0800
+++ xfce4-diskperf-plugin-2.6.1-patched/panel-plugin/devperf.c 2019-02-18
00:33:06.963847369 +0800
@@ -35,6 +35,7 @@
#include <sys/time.h>
/* for major() and minor() */
#define _BSD_SOURCE
+#include <sys/sysmacros.h>
#include <sys/types.h>