Title: [opsview-base] [208] patch io broker to use select()
Revision
208
Author
aburzynski
Date
2013-02-05 09:36:28 +0000 (Tue, 05 Feb 2013)

Log Message

patch io broker to use select()

Modified Paths


Added Paths

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2013-01-28 15:57:33 UTC (rev 207)
+++ trunk/Makefile	2013-02-05 09:36:28 UTC (rev 208)
@@ -565,6 +565,10 @@
 	 	patch -p1 < ../patches/nagios_solaris_rlimit.patch && \
 		patch -p1 < ../patches/nagios_solaris_compile_errors_for_comments_h.patch ; \
 	fi
+	# patch io broker to use select
+	if [ $(KERNEL_NAME) = SunOS ] ; then \
+		patch -p1 < ../patches/nagios_solaris_uses_select.patch ; \
+	fi
 	# The following two should be fixed after 4.0.20130107
 	cd ${NAGIOS} && patch -p1 < ../patches/nagios_cgis_read_object_cache_location.patch
 	cd ${NAGIOS} && patch -p1 < ../patches/nagios_fix_cgi_tests.patch

Added: trunk/patches/nagios_solaris_uses_select.patch
===================================================================
--- trunk/patches/nagios_solaris_uses_select.patch	                        (rev 0)
+++ trunk/patches/nagios_solaris_uses_select.patch	2013-02-05 09:36:28 UTC (rev 208)
@@ -0,0 +1,12 @@
+diff -ur nagios-4.0.20130107-orig/lib/Makefile.in nagios-4.0.20130107/lib/Makefile.in
+--- nagios-4.0.20130107-orig/lib/Makefile.in	2012-12-24 15:29:25.000000000 +0000
++++ nagios-4.0.20130107/lib/Makefile.in	2013-02-05 09:26:20.000000000 +0000
+@@ -2,7 +2,7 @@
+ COV_CFLAGS = -ggdb3 -O0 -ftest-coverage -fprofile-arcs -pg
+ LDFLAGS =
+ CFLAGS ?= @CFLAGS@
+-ALL_CFLAGS = -Wall $(CFLAGS) @DEFS@
++ALL_CFLAGS = -Wall -DIOBROKER_USES_SELECT $(CFLAGS) @DEFS@
+ LIBNAME = libnagios.a
+ 
+ all: $(LIBNAME)

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to