From dff6d2639eabb93e2d3782bfc1262bb6f7dccc33 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 28 Jun 2019 10:53:53 -0700 Subject: apinger: Update to latest git revision This project seems abandoned. Updated to latest version. Also cleaned up the Makefile quite a bit. Signed-off-by: Rosen Penev --- net/apinger/patches/010-poll.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net/apinger/patches/010-poll.patch (limited to 'net/apinger/patches/010-poll.patch') diff --git a/net/apinger/patches/010-poll.patch b/net/apinger/patches/010-poll.patch new file mode 100644 index 000000000..760079e5a --- /dev/null +++ b/net/apinger/patches/010-poll.patch @@ -0,0 +1,24 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -23,7 +23,7 @@ AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS([arpa/inet.h errno.h malloc.h \ + stddef.h stdlib.h string.h sys/socket.h \ + sys/time.h syslog.h unistd.h time.h \ +- assert.h sys/poll.h signal.h pwd.h grp.h stdarg.h\ ++ assert.h poll.h signal.h pwd.h grp.h stdarg.h\ + limits.h sys/wait.h sched.h sys/ioctl.h sys/uio.h]) + AC_HEADER_TIME + +--- a/src/apinger.c ++++ b/src/apinger.c +@@ -33,8 +33,8 @@ + #ifdef HAVE_SYS_WAIT_H + # include + #endif +-#ifdef HAVE_SYS_POLL_H +-# include ++#ifdef HAVE_POLL_H ++# include + #endif + #ifdef HAVE_ARPA_INET_H + # include -- cgit v1.2.3