Hello community, here is the log from the commit of package packETH for openSUSE:Factory checked in at 2020-07-05 01:19:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/packETH (Old) and /work/SRC/openSUSE:Factory/.packETH.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "packETH" Sun Jul 5 01:19:18 2020 rev:3 rq:818522 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/packETH/packETH.changes 2015-12-09 22:26:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.packETH.new.3060/packETH.changes 2020-07-05 01:20:55.197506728 +0200 @@ -1,0 +2,5 @@ +Mon Jun 8 18:57:22 UTC 2020 - Cristian RodrÃguez <crrodrig...@opensuse.org> + +- packeth-ftbs-gcc10.patch: fix build with gcc >= 10 + +------------------------------------------------------------------- New: ---- packeth-ftbs-gcc10.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ packETH.spec ++++++ --- /var/tmp/diff_new_pack.PPe1LQ/_old 2020-07-05 01:20:57.349513329 +0200 +++ /var/tmp/diff_new_pack.PPe1LQ/_new 2020-07-05 01:20:57.353513341 +0200 @@ -1,7 +1,7 @@ # # spec file for package packETH # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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/ # @@ -20,24 +20,26 @@ Version: 1.8.1 Release: 0 Summary: Packet generator tool for ethernet -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Networking/Diagnostic -Url: http://packeth.sourceforge.net/packeth/Home.html +URL: http://packeth.sourceforge.net/packeth/Home.html Source0: http://downloads.sourceforge.net/project/packeth/packETH-%{version}.tar.bz2 BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) +Patch0: packeth-ftbs-gcc10.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description packETH is tool for generating packets to send over ethernet. %prep -%setup -q +%autosetup -p1 # yay, lm is not in checked libs sed -i -e 's:$(DEPS_LIBS):$(DEPS_LIBS) -lm:' Makefile.in %build +export CFLAGS="%optflags -fvisibility=hidden" %configure make %{?_smp_mflags} ++++++ packeth-ftbs-gcc10.patch ++++++ Index: packETH-1.8.1/src/function_send.c =================================================================== --- packETH-1.8.1.orig/src/function_send.c +++ packETH-1.8.1/src/function_send.c @@ -54,7 +54,7 @@ extern long li_packets_sent; extern long li_last_packets_sent; extern long li_packets_sent_lastsec; extern long sentstream[10]; -char iftext[20]; +extern char iftext[20]; struct params { long long del;