Fixed FTBFS with gcc-10
Resolves: rhbz#1800224
This commit is contained in:
parent
df1bf80090
commit
f888736fcb
2 changed files with 23 additions and 1 deletions
15
uronode-2.10-gcc-10-fix.patch
Normal file
15
uronode-2.10-gcc-10-fix.patch
Normal file
|
|
@ -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, ...)
|
||||
{
|
||||
|
|
@ -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 <jskarvad@redhat.com> - 2.10-4
|
||||
- Fixed FTBFS with gcc-10
|
||||
Resolves: rhbz#1800224
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue