ports/net-mgmt/monitoring-plugins/files/patch-gl__m4__extensions.m4
Mathieu Arnold 88c5e8e9d2 Add monitoring-plugins, a fork of nagios-plugins.
For now, use a snapshot from github until they release 1.6.

Sponsored by:	Absolight
2014-05-09 17:53:39 +00:00

19 lines
748 B
Plaintext

--- ./gl/m4/extensions.m4.orig 2014-03-04 20:21:36.000000000 +0100
+++ ./gl/m4/extensions.m4 2014-04-14 10:22:50.000000000 +0200
@@ -16,6 +16,7 @@
# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
# the fix is
+m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
# but always AC_REQUIREd,
# 2) to ensure that for each occurrence of
@@ -49,6 +50,7 @@
except with this defined.])
AC_DEFINE([_MINIX], [1],
[Define to 1 if on MINIX.])
+])
AC_DEFINE([_NETBSD_SOURCE], [1],
[Define to 1 to make NetBSD features available. MINIX 3 needs this.])
fi