really fix lp914495

This commit is contained in:
BJ Dierkes 2012-01-12 20:06:15 -06:00
parent 8415219cff
commit a2ede6bbc0
2 changed files with 18 additions and 0 deletions

View File

@ -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 {

View File

@ -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@rackspace.com> - 0.27-2
- Adding Patch0: gearmand-0.27-lp914495.patch Resolves LP#914495
* Tue Jan 10 2012 BJ Dierkes <wdierkes@rackspace.com> - 0.27-1
- Latest sources from upstream. Release notes here:
https://launchpad.net/gearmand/trunk/0.27