summaryrefslogtreecommitdiff
path: root/external/poppler/0001-Fix-building-with-old-clang.patch.1
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-09-07 15:50:09 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-08-30 23:31:10 +0200
commitedcfa1f29f1c54ac2c50af48cf3e0ee661dcad4c (patch)
tree607f345d3ca6e6d792e408e6f674b71ad07cdf3a /external/poppler/0001-Fix-building-with-old-clang.patch.1
parent137d7c53dd6cc54ce57efddf0a926e1bcc124197 (diff)
upload poppler 0.59.0
Change-Id: I21dfa3aa04bd960cb2fb87a53213ae4bbd510a24 Reviewed-on: https://gerrit.libreoffice.org/42061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 1c983335116a6f09cabf0b3eae7f51951111341e) Reviewed-on: https://gerrit.libreoffice.org/56256 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit b21a87eebf8b72a70ec7788d883cd75e485a2eca)
Diffstat (limited to 'external/poppler/0001-Fix-building-with-old-clang.patch.1')
-rw-r--r--external/poppler/0001-Fix-building-with-old-clang.patch.125
1 files changed, 25 insertions, 0 deletions
diff --git a/external/poppler/0001-Fix-building-with-old-clang.patch.1 b/external/poppler/0001-Fix-building-with-old-clang.patch.1
new file mode 100644
index 000000000000..dcddd11d2967
--- /dev/null
+++ b/external/poppler/0001-Fix-building-with-old-clang.patch.1
@@ -0,0 +1,25 @@
+From dd80c182cbcb188af0dd590f222ba9bbb31e3fb7 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <aacid@kde.org>
+Date: Mon, 4 Sep 2017 19:36:06 +0200
+Subject: [PATCH] Fix building with old clang
+
+---
+ poppler/StructElement.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/poppler/StructElement.cc b/poppler/StructElement.cc
+index 0fbd336a..451213f8 100644
+--- a/poppler/StructElement.cc
++++ b/poppler/StructElement.cc
+@@ -248,6 +248,8 @@ struct AttributeMapEntry {
+ };
+
+ struct AttributeDefaults {
++ AttributeDefaults() {}; // needed to support old clang
++
+ Object Inline = Object(objName, "Inline");
+ Object LrTb = Object(objName, "LrTb");
+ Object Normal = Object(objName, "Normal");
+--
+2.13.5
+