[task] Write a patch to #include <unistd.h> in a couple of places to get it building

Luke Macken lmacken at fedoraproject.org
Mon Feb 20 21:03:03 UTC 2012


commit eec40188e1ff2760b9e9d23f96d8f001589e25ef
Author: Luke Macken <lmacken at redhat.com>
Date:   Mon Feb 20 16:03:01 2012 -0500

    Write a patch to #include <unistd.h> in a couple of places to get it building

 task.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/task.spec b/task.spec
index 12cfdc4..5c5050e 100644
--- a/task.spec
+++ b/task.spec
@@ -10,6 +10,7 @@ License:        GPLv2+
 URL:            http://taskwarrior.org
 Source0:        http://taskwarrior.org/download/%{name}-%{version}.%{betaver}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         %{name}-unistd.patch
 
 BuildRequires:  cmake
 
@@ -24,6 +25,7 @@ options, multi-user file locking, recurring tasks.
 
 %prep
 %setup -q -n %{name}-%{version}.%{betaver}
+%patch0 -p0
 
 
 %build
@@ -57,6 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 * Mon Feb 20 2012 Luke Macken <lmacken at redhat.com> - 2.0.0-0.1.beta4
 - Update to the latest 2.0 beta
 - Build with cmake
+- Add task-unistd.patch to get it building
 
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the scm-commits mailing list