[gearmand] really fix lp914495

derks derks at fedoraproject.org
Fri Jan 13 03:09:53 UTC 2012


commit a2ede6bbc01665e70a27cb8c4b7b96699a8e3134
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Thu Jan 12 20:06:15 2012 -0600

    really fix lp914495

 gearmand-0.27-lp914495.patch |   12 ++++++++++++
 gearmand.spec                |    6 ++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gearmand-0.27-lp914495.patch b/gearmand-0.27-lp914495.patch
new file mode 100644
index 0000000..2011df6
--- /dev/null
+++ b/gearmand-0.27-lp914495.patch
@@ -0,0 +1,12 @@
+https://bugs.launchpad.net/gearmand/+bug/914495
+
+--- gearmand-0.27/util/instance.cc.orig	2011-10-28 22:33:38.000000000 -0500
++++ gearmand-0.27/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 {
diff --git a/gearmand.spec b/gearmand.spec
index 29f0b1d..52efb5c 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -34,6 +34,8 @@ Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
 
+Patch0: gearmand-0.27-lp914495.patch 
+
 %description
 Gearman provides a generic framework to farm out work to other machines
 or dispatch function calls to machines that are better suited to do the work.
@@ -79,6 +81,7 @@ Development headers for %{name} 1.0.
 
 %prep
 %setup -q
+%patch1 -p1 -b .lp914495
 
 %build
 %ifarch ppc64 sparc64
@@ -188,6 +191,9 @@ fi
 %{_includedir}/libgearman-1.0/
 
 %changelog
+* Thu Jan 12 2012 BJ Dierkes <wdierkes at rackspace.com> - 0.27-2
+- Adding Patch0: gearmand-0.27-lp914495.patch Resolves LP#914495
+
 * Tue Jan 10 2012 BJ Dierkes <wdierkes at rackspace.com> - 0.27-1
 - Latest sources from upstream.  Release notes here:
   https://launchpad.net/gearmand/trunk/0.27


More information about the scm-commits mailing list