From 4e5bc74ec30734f2ef7c2b4f27a80793f1b94e7f Mon Sep 17 00:00:00 2001 From: David Tardon Date: May 27 2014 16:59:09 +0000 Subject: fix build on F-20 --- diff --git a/abiword-3.0.0-libebook.patch b/abiword-3.0.0-libebook.patch new file mode 100644 index 0000000..121cd9d --- /dev/null +++ b/abiword-3.0.0-libebook.patch @@ -0,0 +1,25 @@ +From ca0495e8c69c53dca85f06ea1f4b063c57717a2b Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Tue, 27 May 2014 18:56:38 +0200 +Subject: [PATCH] fix build on F-20 + +--- + src/text/ptbl/xp/pd_DocumentRDF.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/text/ptbl/xp/pd_DocumentRDF.cpp b/src/text/ptbl/xp/pd_DocumentRDF.cpp +index 87b372e..798e262 100644 +--- a/src/text/ptbl/xp/pd_DocumentRDF.cpp ++++ b/src/text/ptbl/xp/pd_DocumentRDF.cpp +@@ -1884,7 +1884,7 @@ PD_RDFContact::className() const + + #ifdef WITH_EVOLUTION_DATA_SERVER + extern "C" { +- #include ++ #include + }; + + static std::string get( EVCard* c, const char* v ) +-- +1.9.3 + diff --git a/abiword.spec b/abiword.spec index b3474a3..ef244ab 100644 --- a/abiword.spec +++ b/abiword.spec @@ -24,6 +24,7 @@ Patch3: abiword-3.0.0-fixintrospection.patch Patch4: abiword-3.0.0-fix-redraw.patch Patch5: abiword-3.0.0-gnutls-no-libgcrypt.patch Patch6: abiword-3.0.0-librevenge.patch +Patch7: abiword-3.0.0-libebook.patch BuildRequires: autoconf BuildRequires: automake @@ -111,6 +112,7 @@ Python bindings for developing with libabiword %patch4 -p1 -b .redraw %patch5 -p1 -b .nogcrypt %patch6 -p0 -b .librevenge +%patch7 -p1 -b .libebook # setup abiword documentation %setup -q -T -b 1 -n abiword-docs-%{version}