commit:     c852d4be4693df8f538b4e15eaebae4053f1c25c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  8 20:31:46 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan  9 09:51:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c852d4be

app-office/libreoffice: Patch was accepted upstream

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/libreoffice-6.2.0.1-poppler-0.72.patch   | 25 ++++++++++++++++++----
 app-office/libreoffice/libreoffice-6.2.9999.ebuild |  7 ++----
 2 files changed, 23 insertions(+), 9 deletions(-)

diff --git 
a/app-office/libreoffice/files/libreoffice-6.2.0.1-poppler-0.72.patch 
b/app-office/libreoffice/files/libreoffice-6.2.0.1-poppler-0.72.patch
index 07e7a17d2f2..7f0b1f71a1e 100644
--- a/app-office/libreoffice/files/libreoffice-6.2.0.1-poppler-0.72.patch
+++ b/app-office/libreoffice/files/libreoffice-6.2.0.1-poppler-0.72.patch
@@ -1,6 +1,21 @@
---- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx    2019-01-07 
23:10:04.301278414 +0100
-+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx    2019-01-07 
23:29:11.653479068 +0100
-@@ -555,7 +555,11 @@
+From 65a6c9ae4791188ffcecf489073cf38873ce5e17 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Tue, 8 Jan 2019 11:24:40 +0100
+Subject: Fix build with poppler-0.72
+
+Change-Id: I0664d1b39e97b7555c0a3cba442db52b84f37134
+Reviewed-on: https://gerrit.libreoffice.org/65960
+Tested-by: Jenkins
+Reviewed-by: Michael Stahl <[email protected]>
+---
+ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 
b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+index 101e3be..dab405b 100644
+--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
++++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+@@ -555,7 +555,11 @@ void PDFOutDev::processLink(Link* link, Catalog*)
      LinkAction* pAction = link->getAction();
      if (pAction && pAction->getKind() == actionURI)
      {
@@ -12,7 +27,7 @@
  
          std::vector<char> aEsc( lcl_escapeLineFeeds(pURI) );
  
-@@ -757,7 +761,11 @@
+@@ -757,7 +761,11 @@ void PDFOutDev::updateFont(GfxState *state)
  
              aFont = it->second;
  
@@ -24,3 +39,5 @@
              printf( " %d %d %d %d %f %d %s",
                      aFont.isEmbedded,
                      aFont.isBold,
+-- 
+cgit v1.1

diff --git a/app-office/libreoffice/libreoffice-6.2.9999.ebuild 
b/app-office/libreoffice/libreoffice-6.2.9999.ebuild
index f50c9dc3071..d1351356c1e 100644
--- a/app-office/libreoffice/libreoffice-6.2.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-6.2.9999.ebuild
@@ -253,11 +253,8 @@ PATCHES=(
        "${FILESDIR}/${PN}-6.1-nomancompress.patch"
 
        # master branch
-       "${FILESDIR}/${PN}-6.2.0.1-poppler-0.71-1.patch"
-       "${FILESDIR}/${PN}-6.2.0.1-poppler-0.71-2.patch"
-
-       # pending upstream
-       "${FILESDIR}/${PN}-6.2.0.1-poppler-0.72.patch"
+       "${FILESDIR}"/${PN}-6.2.0.1-poppler-0.71-{1,2}.patch
+       "${FILESDIR}"/${PN}-6.2.0.1-poppler-0.72.patch
 )
 
 S="${WORKDIR}/${PN}-${MY_PV}"

Reply via email to