summaryrefslogtreecommitdiffstats
path: root/external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch')
-rw-r--r--external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch b/external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch
new file mode 100644
index 00000000..014ed1d8
--- /dev/null
+++ b/external/meta-virtualization/recipes-extended/nagios/nagios-core/0001-fix-autoheader-error.patch
@@ -0,0 +1,63 @@
+From 3c51d942f6da08045351ce61cc7f426fa0855489 Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Fri, 31 Aug 2018 10:51:36 +0800
+Subject: [PATCH] fix autoheader error
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ configure.ac | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 17e436d..16b3e71 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -388,7 +388,7 @@ AC_ARG_WITH(iobroker,
+ case $IOBROKER_METHOD in
+ epoll*)
+ if test "$GLIBC_NEWER_2_4" -eq 1 -a "x$ac_cv_header_sys_epoll_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_EPOLL])
++ AC_DEFINE([IOBROKER_USES_EPOLL], [1], [iobroker uses epoll])
+ else
+ echo "\"epoll\" is not available as an iobroker method."
+ echo "Please use one of the other options."
+@@ -397,7 +397,7 @@ epoll*)
+ ;;
+ poll*)
+ if test "x$ac_cv_header_sys_poll_h" = "xyes" -o "x$ac_cv_header_poll_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_POLL])
++ AC_DEFINE([IOBROKER_USES_POLL], [1], [iobroker uses poll])
+ else
+ echo "\"poll\" is not available as an iobroker method."
+ echo "Please use one of the other options."
+@@ -406,7 +406,7 @@ poll*)
+ ;;
+ select*)
+ if test "x$ac_cv_header_sys_select_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_SELECT])
++ AC_DEFINE([IOBROKER_USES_SELECT], [1], [iobroker uses select])
+ else
+ echo "\"select\" is not available as an iobroker method."
+ echo "Please use one of the other options."
+@@ -415,13 +415,13 @@ select*)
+ ;;
+ none*)
+ if test "$GLIBC_NEWER_2_4" -eq 1 -a "x$ac_cv_header_sys_epoll_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_EPOLL])
++ AC_DEFINE([IOBROKER_USES_EPOLL], [1], [iobroker uses epoll])
+ IOBROKER_METHOD="epoll"
+ elif test "x$ac_cv_header_sys_poll_h" = "xyes" -o "x$ac_cv_header_poll_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_POLL])
++ AC_DEFINE([IOBROKER_USES_POLL], [1], [iobroker uses poll])
+ IOBROKER_METHOD="poll"
+ elif test "x$ac_cv_header_sys_select_h" = "xyes"; then
+- AC_DEFINE([IOBROKER_USES_SELECT])
++ AC_DEFINE([IOBROKER_USES_SELECT], [1], [iobroker uses select])
+ IOBROKER_METHOD="select"
+ else
+ echo "There are no available options for iobroker polling"
+--
+2.7.4
+