Accepting request 812602 from home:kstreitova:branches:network:utilities
- add fping-4.2-gcc10-extern.patch to fix build with GCC10 OBS-URL: https://build.opensuse.org/request/show/812602 OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=41
This commit is contained in:
parent
e94cc48ec1
commit
0b5ba882e6
12
fping-4.2-gcc10-extern.patch
Normal file
12
fping-4.2-gcc10-extern.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up fping-4.2/src/fping.h.extern fping-4.2/src/fping.h
|
||||
--- fping-4.2/src/fping.h.extern 2019-02-19 16:00:09.000000000 -0500
|
||||
+++ fping-4.2/src/fping.h 2020-02-02 00:19:02.613997883 -0500
|
||||
@@ -11,7 +11,7 @@
|
||||
void crash_and_burn( char *message );
|
||||
void errno_crash_and_burn( char *message );
|
||||
int in_cksum( unsigned short *p, int n );
|
||||
-int random_data_flag;
|
||||
+extern int random_data_flag;
|
||||
|
||||
/* socket.c */
|
||||
int open_ping_socket_ipv4();
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 12:49:08 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
|
||||
|
||||
- add fping-4.2-gcc10-extern.patch to fix build with GCC10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 13:09:14 UTC 2019 - lars@linux-schulserver.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fping
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX 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
|
||||
@ -22,8 +22,9 @@ Release: 0
|
||||
Summary: A program to ping multiple hosts
|
||||
License: MIT
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Url: http://www.fping.org
|
||||
URL: http://www.fping.org
|
||||
Source: http://fping.org/dist/%{name}-%{version}.tar.bz2
|
||||
Patch0: fping-4.2-gcc10-extern.patch
|
||||
%if 0%{?suse_version} >= 1500
|
||||
Requires(pre): permissions
|
||||
%endif
|
||||
@ -49,6 +50,7 @@ designed to be easy to parse.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user