[omd-commits] OMD Git: omd: gearmand: Added patch to be able to compile on e.g. ubuntu 12 .10

git version control git at mathias-kettner.de
Thu Nov 22 08:31:06 CET 2012


Module:   omd
Branch:   master
Commit:   3fa8a92fdf29fb0058ccb58ac1f09e0c3bfc9ade
URL:      http://omdistro.org/projects/omd/repository/revisions/3fa8a92fdf29fb0058ccb58ac1f09e0c3bfc9ade

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Nov 22 08:31:14 2012 +0100
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Nov 22 08:31:14 2012 +0100

gearmand: Added patch to be able to compile on e.g. ubuntu 12.10

---

 Changelog                                          |    1 +
 .../0002-fix-missing-include-compile-error.patch   |   30 ++++++++++++++++++++
 packages/gearmand/patches/README                   |    3 ++
 3 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/Changelog b/Changelog
index 4256387..617f8e2 100644
--- a/Changelog
+++ b/Changelog
@@ -8,6 +8,7 @@ This file documents the revision history for the Open Monitoring Distribution
          - NagVis: Update to 1.7.3
          - PNP4Nagios
             - Added INIT hooks to npcd and pnp_gearman_worker scripts
+         - Support Ubuntu 12.10 (Quantal)
 
 0.56     Sep 25 2012
           - omd:
diff --git a/packages/gearmand/patches/0002-fix-missing-include-compile-error.patch b/packages/gearmand/patches/0002-fix-missing-include-compile-error.patch
new file mode 100644
index 0000000..82441aa
--- /dev/null
+++ b/packages/gearmand/patches/0002-fix-missing-include-compile-error.patch
@@ -0,0 +1,30 @@
+--- gearmand-0.25/util/instance.cc.orig 2011-10-28 22:33:38.000000000 -0500
++++ gearmand-0.25/util/instance.cc  2012-01-12 20:02:51.303519844 -0600
+@@ -48,6 +48,7 @@
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
++#include <unistd.h>
+ 
+ 
+ namespace datadifferential {
+--- gearmand-0.25/util/pidfile.cc.orig  2011-09-26 23:59:09.000000000 -0500
++++ gearmand-0.25/util/pidfile.cc   2012-01-12 20:42:49.747797880 -0600
+@@ -48,6 +48,7 @@
+ #include <sstream>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <unistd.h>
+ 
+ extern "C" {
+ 
+--- gearmand-0.25/util/logfile.cc.orig  2011-09-26 23:59:09.000000000 -0500
++++ gearmand-0.25/util/logfile.cc   2012-01-12 20:57:25.526030905 -0600
+@@ -49,6 +49,7 @@
+ #include <sstream>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <unistd.h>
+ 
+ namespace datadifferential {
+ namespace util {
diff --git a/packages/gearmand/patches/README b/packages/gearmand/patches/README
new file mode 100644
index 0000000..bc783af
--- /dev/null
+++ b/packages/gearmand/patches/README
@@ -0,0 +1,3 @@
+0002:
+Fixes compilation of gearmand on several platforms, like eg Ubuntu 12.10.
+See issue 289 for reference, http://omdistro.org/issues/289.



More information about the omd-commits mailing list