--- /dev/null
+From 704f3155cca2e1fb5ad071539b7f8b5e5522dd97 Mon Sep 17 00:00:00 2001
+From: Ionut Biru <ibiru@archlinux.org>
+Date: Sun, 13 May 2012 23:57:46 +0000
+Subject: poppler 0.20 changed its api
+
+Modification introduced in
+http://cgit.freedesktop.org/poppler/poppler/commit/?id=c0affb1845c339f89ca67608cb9fd9134ff902f5
+
+Signed-off-by: Ionut Biru <ibiru@archlinux.org>
+---
+diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+index 77e5896..c9ffed3 100644
+--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
++++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+@@ -407,7 +407,11 @@ int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state )
+
+ GooString* pFamily = gfxFont->getName();
+ if( ! pFamily )
++#if POPPLER_CHECK_VERSION(0, 20, 0)
++ pFamily = gfxFont->getName();
++#else
+ pFamily = gfxFont->getOrigName();
++#endif
+ if( pFamily )
+ {
+ aNewFont.familyName.clear();
+--
+cgit v0.9.0.2-2-gbebe
Summary(pl.UTF-8): LibreOffice - potężny pakiet biurowy
Name: libreoffice
Version: %{major_ver}.2
-Release: 2
+Release: 3
License: GPL/LGPL
Group: X11/Applications
# we use git because released tarballs are buggy too often
Source30: http://hg.services.openoffice.org/binaries/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
# Source30-md5: 17410483b5b5f267aa18b7e00b65e6e0
Patch0: %{name}-hamcrest.patch
+Patch1: %{name}-poppler.patch
URL: http://www.documentfoundation.org/
BuildRequires: /usr/bin/getopt
BuildRequires: GConf2-devel
%setup -q -n %{name}-core-%{version} -a1 -a2 -a3 -a4
%patch0 -p0
+%patch1 -p1
for dir in *-%{version}; do
[ -f $dir/ChangeLog ] && mv $dir/ChangeLog ChangeLog-$dir