Hello community, here is the log from the commit of package bwm-ng for openSUSE:Factory checked in at 2017-06-12 15:35:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bwm-ng (Old) and /work/SRC/openSUSE:Factory/.bwm-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bwm-ng" Mon Jun 12 15:35:19 2017 rev:2 rq:502998 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bwm-ng/bwm-ng.changes 2015-12-03 13:31:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bwm-ng.new/bwm-ng.changes 2017-06-12 15:35:44.888295868 +0200 @@ -1,0 +2,7 @@ +Mon Jun 12 01:19:02 UTC 2017 - pascal.ble...@opensuse.org + +- add patch to fix build with GCC7 in Factory, requiring the use of + "static inline" instead of "inline": + bwm-ng-fix_gcc7_inline.patch + +------------------------------------------------------------------- New: ---- bwm-ng-fix_gcc7_inline.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bwm-ng.spec ++++++ --- /var/tmp/diff_new_pack.xdv2nx/_old 2017-06-12 15:35:46.484070794 +0200 +++ /var/tmp/diff_new_pack.xdv2nx/_new 2017-06-12 15:35:46.488070230 +0200 @@ -1,7 +1,7 @@ # # spec file for package bwm-ng # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -20,25 +20,26 @@ Version: 0.6.1 Release: 0 Summary: Realtime Bandwidth Monitor -URL: http://www.gropp.org/?id=projects&sub=bwm-ng +License: GPL-2.0+ +Group: System/Monitoring +Url: http://www.gropp.org/?id=projects&sub=bwm-ng Source0: https://github.com/vgropp/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{name}-icons.tar Source2: %{name}.desktop -Group: System/Monitoring -License: GPL-2.0+ +Patch1: bwm-ng-fix_gcc7_inline.patch %if 0%{?suse_version} BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files %endif BuildRequires: autoconf BuildRequires: automake -BuildRequires: libtool BuildRequires: glibc-devel +BuildRequires: libstatgrab-devel >= 0.91 +BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: net-tools -BuildRequires: libstatgrab-devel >= 0.91 #BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bandwidth Monitor NG is a small and simple console-based live bandwidth monitor @@ -55,6 +56,7 @@ %prep %setup -q -a 1 +%patch1 %build autoreconf -fi @@ -79,7 +81,6 @@ --with-strip=/usr/bin/touch make %{?_smp_mflags} - %install %make_install ++++++ bwm-ng-fix_gcc7_inline.patch ++++++ --- src/bwm-ng.c.orig 2017-06-12 03:15:08.731964116 +0200 +++ src/bwm-ng.c 2017-06-12 03:15:21.492001798 +0200 @@ -26,7 +26,7 @@ /* handle interrupt signal */ void sigint(int sig) FUNCATTR_NORETURN; -inline void init(void); +static inline void init(void); /* clear stuff and exit */ #ifdef __STDC__ @@ -98,7 +98,7 @@ deinit(0, NULL); } -inline void init(void) { +static inline void init(void) { if_count=0; delay=500; #if EXTENDED_STATS --- src/options.c.orig 2017-06-12 03:11:33.659353656 +0200 +++ src/options.c 2017-06-12 03:14:36.535870677 +0200 @@ -34,7 +34,7 @@ #if EXTENDED_STATS inline int str2output_type(char *optarg); #endif -inline int str2out_method(char *optarg); +static inline int str2out_method(char *optarg); inline int str2in_method(char *optarg); #ifdef CONFIG_FILE @@ -87,7 +87,7 @@ } #endif -inline int str2out_method(char *optarg) { +static inline int str2out_method(char *optarg) { if (optarg) { if (!strcasecmp(optarg,"plain")) return PLAIN_OUT; #ifdef HAVE_CURSES