diff --git a/syncevolution-0.8.1a-build.patch b/syncevolution-0.8.1a-build.patch new file mode 100644 index 0000000..9a39293 --- /dev/null +++ b/syncevolution-0.8.1a-build.patch @@ -0,0 +1,12 @@ +diff -up syncevolution-0.8.1a/src/client-api/src/c++/posix/http/TransportAgentFactory.cpp.build syncevolution-0.8.1a/src/client-api/src/c++/posix/http/TransportAgentFactory.cpp +--- syncevolution-0.8.1a/src/client-api/src/c++/posix/http/TransportAgentFactory.cpp.build 2009-03-26 17:26:00.000000000 +0100 ++++ syncevolution-0.8.1a/src/client-api/src/c++/posix/http/TransportAgentFactory.cpp 2009-03-26 17:26:08.000000000 +0100 +@@ -39,7 +39,7 @@ + #include "http/CurlTransportAgent.h" + #elif FUN_TRANSPORT_AGENT == FUN_MAC_TRANSPORT_AGENT + #include "http/MacTransportAgent.h" +-#elif ++#else + #error "No Transport agent defined, cannot compile" + #endif + diff --git a/syncevolution.spec b/syncevolution.spec index ad3ee21..5ae7fe8 100644 --- a/syncevolution.spec +++ b/syncevolution.spec @@ -6,6 +6,10 @@ License: GPLv2+ Group: Applications/Productivity URL: http://www.estamos.de/projects/SyncML/ Source0: http://www.estamos.de/download/syncevolution/sources/%{name}-%{version}.tar.gz +# Patch filed upstream at +# https://sourceforge.net/tracker/index.php\ +# ?func=detail&aid=2707496&group_id=146288&atid=764733 +Patch0: syncevolution-0.8.1a-build.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: evolution Requires: curl @@ -20,6 +24,7 @@ connect to and sync with various SyncML-based servers %prep %setup -q +%patch0 -p1 -b .build %configure --enable-unit-tests %build @@ -48,6 +53,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Mar 23 2009 Matej Cepl 0.8.1a-1 - New upstream release. +- make a fix for one #elif which should be #else * Wed Feb 25 2009 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild