slackware-current/source/l/poppler/d7aa275b0bca86ae174e7e504dd269df2a0234cf.patch
Patrick J Volkerding eb0d409bd7 Thu Apr 8 18:20:03 UTC 2021
ap/vim-8.2.2735-x86_64-1.txz:  Upgraded.
d/cmake-3.20.1-x86_64-1.txz:  Upgraded.
d/vala-0.52.1-x86_64-1.txz:  Upgraded.
l/glib2-2.68.1-x86_64-1.txz:  Upgraded.
l/gsettings-desktop-schemas-40.0-x86_64-1.txz:  Upgraded.
l/libxkbcommon-1.2.1-x86_64-1.txz:  Upgraded.
l/netpbm-10.94.02-x86_64-1.txz:  Upgraded.
l/ocl-icd-2.3.0-x86_64-1.txz:  Upgraded.
l/poppler-21.04.0-x86_64-2.txz:  Rebuilt.
  Applied a couple of upstream patches. Thanks to th_r.
xap/vim-gvim-8.2.2735-x86_64-1.txz:  Upgraded.
2021-04-09 08:59:49 +02:00

81 lines
2.2 KiB
Diff

From d7aa275b0bca86ae174e7e504dd269df2a0234cf Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evangelos@foutrelis.com>
Date: Tue, 6 Apr 2021 09:56:55 +0300
Subject: [PATCH] Export SplashFont* symbols used by Scribus
Scribus 1.5.6.1 compiled against poppler 21.04.0 was unable to load its
PDF importer plugin without these classes being exported by libpoppler:
- SplashFontFileID
- SplashFontEngine
- SplashFontSrc
---
splash/SplashFontEngine.h | 3 ++-
splash/SplashFontFile.h | 3 ++-
splash/SplashFontFileID.h | 4 +++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/splash/SplashFontEngine.h b/splash/SplashFontEngine.h
index becc0d9ce..3e5458c09 100644
--- a/splash/SplashFontEngine.h
+++ b/splash/SplashFontEngine.h
@@ -30,6 +30,7 @@
#include <array>
#include "SplashTypes.h"
+#include "poppler_private_export.h"
class SplashT1FontEngine;
class SplashFTFontEngine;
@@ -44,7 +45,7 @@ class SplashFontSrc;
// SplashFontEngine
//------------------------------------------------------------------------
-class SplashFontEngine
+class POPPLER_PRIVATE_EXPORT SplashFontEngine
{
public:
// Create a font engine.
diff --git a/splash/SplashFontFile.h b/splash/SplashFontFile.h
index 598fd8325..539bd3075 100644
--- a/splash/SplashFontFile.h
+++ b/splash/SplashFontFile.h
@@ -23,6 +23,7 @@
#define SPLASHFONTFILE_H
#include "SplashTypes.h"
+#include "poppler_private_export.h"
class GooString;
class SplashFontEngine;
@@ -33,7 +34,7 @@ class SplashFontFileID;
// SplashFontFile
//------------------------------------------------------------------------
-class SplashFontSrc
+class POPPLER_PRIVATE_EXPORT SplashFontSrc
{
public:
SplashFontSrc();
diff --git a/splash/SplashFontFileID.h b/splash/SplashFontFileID.h
index 02b528aab..c127dd87f 100644
--- a/splash/SplashFontFileID.h
+++ b/splash/SplashFontFileID.h
@@ -21,11 +21,13 @@
#ifndef SPLASHFONTFILEID_H
#define SPLASHFONTFILEID_H
+#include "poppler_private_export.h"
+
//------------------------------------------------------------------------
// SplashFontFileID
//------------------------------------------------------------------------
-class SplashFontFileID
+class POPPLER_PRIVATE_EXPORT SplashFontFileID
{
public:
SplashFontFileID();
--
GitLab