- Update to latest svn version (3.6+svn409)
Bug fixes
* Fix compilation warnings reported by gcc-7 (string
overflows).
* Hide compilation warnings about deprecated GTK-3 API
functions.
* Fix compilation warnings about Linux kernel 'major' and
'minor' macros.
Module bug fixes
* The df module should now handle very big disks on 32-bit
systems.
* The battery module should work better if
/sys/class/power_supply doesn't exist.
* The battery module should work if ACPI records energy rather
than charge.
* The battery module works correctly if discharge current is
negative.
* The battery module checks that remaining time using current
or energy will work.
* The meminfo module handles very long /proc/meminfo (fixes
Debian bug #747627).
* The netdev module uses 64-bits to record network traffic.
* The cpuinfo module doesn't add outputs if the CPUs don't
report their speed.
* The cpuinfo module now uses /sys/devices/system/cpu/cpufreq
not /proc/cpuinfo.
* The biff module now handles maildir mailboxes (must set
options variable).
- Added _service file
- Added procmeter3-loff_t.patch (courtesy of Debian)
- Spec cleanup
OBS-URL: https://build.opensuse.org/request/show/701934
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/procmeter?expand=0&rev=12
19 lines
539 B
Diff
19 lines
539 B
Diff
Description: Fix compilation with newer glibc
|
|
Fixes compilation with newer glibc.
|
|
If _XOPEN_SOURCE is defined _DEFAULT_SOURCE needs to be defined explicit
|
|
to have the definition of loff_t.
|
|
Author: Aurelien Jarno <aurel32@debian.org>
|
|
Bug-Debian: https://bugs.debian.org/916054
|
|
Last-Update: 2018-12-21
|
|
|
|
--- procmeter3-3.6.orig/modules/longrun.c
|
|
+++ procmeter3-3.6/modules/longrun.c
|
|
@@ -15,6 +15,7 @@
|
|
***************************************/
|
|
|
|
#define _XOPEN_SOURCE 500
|
|
+#define _DEFAULT_SOURCE
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|