From 7831f0b21e2559571984710b8078b8fb098de32d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 9 Nov 2011 10:00:44 -0500 Subject: [PATCH] Fix build failure --- evolution-ews-3.3.1-illegal-includes.patch | 12 ++++++++++++ evolution-ews.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 evolution-ews-3.3.1-illegal-includes.patch diff --git a/evolution-ews-3.3.1-illegal-includes.patch b/evolution-ews-3.3.1-illegal-includes.patch new file mode 100644 index 0000000..af8b654 --- /dev/null +++ b/evolution-ews-3.3.1-illegal-includes.patch @@ -0,0 +1,12 @@ +diff -up evolution-ews-3.3.1/src/calendar/e-cal-backend-ews.c.illegal-includes evolution-ews-3.3.1/src/calendar/e-cal-backend-ews.c +--- evolution-ews-3.3.1/src/calendar/e-cal-backend-ews.c.illegal-includes 2011-11-09 09:59:06.977067092 -0500 ++++ evolution-ews-3.3.1/src/calendar/e-cal-backend-ews.c 2011-11-09 09:59:18.431933435 -0500 +@@ -40,8 +40,6 @@ + #include + #include + #include +-#include +-#include + #include + #include + #include diff --git a/evolution-ews.spec b/evolution-ews.spec index 0d0d59c..bff208a 100644 --- a/evolution-ews.spec +++ b/evolution-ews.spec @@ -13,7 +13,9 @@ BuildRequires: evolution-devel >= %{version} BuildRequires: evolution-data-server-devel >= %{version} BuildRequires: intltool +# Build fixes Patch1: evolution-ews-3.3.1-enable-deprecated-glib-symbols.patch +Patch2: evolution-ews-3.3.1-illegal-includes.patch %description This package allows Evolution to interact with Microsoft Exchange servers, @@ -22,6 +24,7 @@ versions 2007 and later, through its Exchange Web Services (EWS) interface. %prep %setup -q %patch1 -p1 -b .enable-deprecated-glib-symbols +%patch2 -p1 -b .illegal-includes %build %configure