Hello community,

here is the log from the commit of package taskwarrior for openSUSE:Factory 
checked in at 2012-03-26 11:08:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/taskwarrior (Old)
 and      /work/SRC/openSUSE:Factory/.taskwarrior.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "taskwarrior", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/taskwarrior/taskwarrior.changes  2012-02-16 
15:02:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.taskwarrior.new/taskwarrior.changes     
2012-03-26 11:08:23.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Mar 21 22:53:01 UTC 2012 - [email protected]
+
+- Add taskwarrior-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  taskwarrior-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ taskwarrior.spec ++++++
--- /var/tmp/diff_new_pack.hdCNbT/_old  2012-03-26 11:08:24.000000000 +0200
+++ /var/tmp/diff_new_pack.hdCNbT/_new  2012-03-26 11:08:24.000000000 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           taskwarrior
 Version:        1.9.99.beta4
 Release:        0
@@ -29,14 +30,16 @@
 #PATCH-FIX-OPENSUSE: remove dropped functions in lua 5.2
 #sent a patch to upstream
 Patch1:         taskwarrior-lua52.patch
+# PATCH-FIX-UPSTREAM taskwarrior-gcc47.patch [email protected] -- Fix build 
with gcc 4.7
+Patch2:         taskwarrior-gcc47.patch
 BuildRequires:  cmake >= 2.8
 BuildRequires:  gcc-c++
 BuildRequires:  libuuid-devel
 BuildRequires:  lua-devel
 # for completion
 BuildRequires:  bash
-BuildRequires:  zsh
 BuildRequires:  vim-base
+BuildRequires:  zsh
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # use the name as other distributions, so 
 # zypper in task will work as well
@@ -55,6 +58,7 @@
 %setup -q -n task-2.0.0.beta4/
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \

++++++ taskwarrior-gcc47.patch ++++++
Index: task-2.0.0.beta4/src/commands/CmdEdit.cpp
===================================================================
--- task-2.0.0.beta4.orig/src/commands/CmdEdit.cpp
+++ task-2.0.0.beta4/src/commands/CmdEdit.cpp
@@ -36,6 +36,7 @@
 #include <util.h>
 #include <main.h>
 #include <CmdEdit.h>
+#include <unistd.h>
 
 extern Context context;
 
Index: task-2.0.0.beta4/src/A3.cpp
===================================================================
--- task-2.0.0.beta4.orig/src/A3.cpp
+++ task-2.0.0.beta4/src/A3.cpp
@@ -31,6 +31,7 @@
 #include <sstream>
 #include <algorithm>
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/select.h>
 #include <Context.h>
 #include <Directory.h>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to