diff --git a/uronode-2.10-gcc-10-fix.patch b/uronode-2.10-gcc-10-fix.patch new file mode 100644 index 0000000..cfd9a3c --- /dev/null +++ b/uronode-2.10-gcc-10-fix.patch @@ -0,0 +1,15 @@ +diff --git a/util.c b/util.c +index 805b9fa..26c856c 100644 +--- a/util.c ++++ b/util.c +@@ -17,8 +17,8 @@ + #include "procinfo.h" + + static char buf[256]; +-char *HostName; +-char *Prompt; ++extern char *HostName; ++extern char *Prompt; + + void node_msg(const char *fmt, ...) + { diff --git a/uronode.spec b/uronode.spec index 6609327..1d410a8 100644 --- a/uronode.spec +++ b/uronode.spec @@ -9,7 +9,7 @@ Summary: Alternative packet radio system for Linux Name: uronode Version: 2.10 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://uronode.sourceforge.net BuildRequires: gcc, zlib-devel, libax25-devel, systemd @@ -26,6 +26,8 @@ Source5: uronode-README.fedora Patch0: uronode-2.7-install-fix.patch # Sent upstream Patch1: uronode-2.7-configure-non-interactive.patch +# Sent upstream +Patch2: uronode-2.10-gcc-10-fix.patch %description URONode is an alternative packet radio system for Linux. It supports @@ -36,6 +38,7 @@ various IP functions, and ANSI colors. %setup -q %patch0 -p1 -b .install-fix %patch1 -p1 -b .configure-non-interactive +%patch2 -p1 -b .gcc-10-fix # Copy Fedora readme into place cp -p %{SOURCE5} README.fedora @@ -112,6 +115,10 @@ touch %{buildroot}/%{_var}/lib/flexd/destinations %ghost %{_var}/lib/flexd/destinations %changelog +* Mon Feb 10 2020 Jaroslav Škarvada - 2.10-4 +- Fixed FTBFS with gcc-10 + Resolves: rhbz#1800224 + * Fri Jan 31 2020 Fedora Release Engineering - 2.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild