Browse Source

fix building under AIX

master
parent
commit
b870013458
  1. 13
      fping/fping.patch
  2. 4
      fping/fping.spec

13
fping/fping.patch

@ -0,0 +1,13 @@
Index: fping.c
--- fping.c.orig 2001-07-20 19:10:26 +0200
+++ fping.c 2006-10-03 09:35:26 +0200
@@ -118,7 +118,9 @@
extern char *optarg;
extern int optind,opterr;
+#ifndef h_errno
extern int h_errno;
+#endif
#ifdef __cplusplus
}

4
fping/fping.spec

@ -37,10 +37,11 @@ Class: PLUS
Group: Mapping
License: Open Source
Version: %{V_here}
Release: 20060924
Release: 20061003
# list of sources
Source0: http://www.fping.com/download/fping-%{V_real}.tar.gz
Patch0: fping.patch
# build information
Prefix: %{l_prefix}
@ -72,6 +73,7 @@ AutoReqProv: no
%prep
%setup -q -n fping-%{V_real}
%patch -p0
touch configure
%build

Loading…
Cancel
Save