pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/poppler poppler: Apply Homebrew patch to fix bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/507bdd9146e6
branches:  trunk
changeset: 368895:507bdd9146e6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 20 15:21:10 2017 +0000

description:
poppler: Apply Homebrew patch to fix build with older clang.

diffstat:

 print/poppler/distinfo                               |   3 ++-
 print/poppler/patches/patch-poppler_StructElement.cc |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r d57780461f99 -r 507bdd9146e6 print/poppler/distinfo
--- a/print/poppler/distinfo    Wed Sep 20 15:14:54 2017 +0000
+++ b/print/poppler/distinfo    Wed Sep 20 15:21:10 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.121 2017/09/05 09:39:41 tnn Exp $
+$NetBSD: distinfo,v 1.122 2017/09/20 15:21:10 jperkin Exp $
 
 SHA1 (poppler-0.59.0.tar.xz) = 1b7d0a22aaf9a472181823ee9b38439471a4b045
 RMD160 (poppler-0.59.0.tar.xz) = 8e0c2861dba339f911713d86ebbf97207c2de5dc
@@ -11,4 +11,5 @@
 SHA1 (patch-ar) = b064ff2dc9080ff5f1a1361e7798480ace11f3a3
 SHA1 (patch-as) = 1238357e57fa310ba9c9f00768c46074b8325739
 SHA1 (patch-poppler_Form.cc) = 6a5c85b80b8bbcd9d9d3bafcfa07857c8a2cd06b
+SHA1 (patch-poppler_StructElement.cc) = 59c3c1c5e91d315cc443a4c455de3d1cd63c24c4
 SHA1 (patch-qt5_src_Makefile.in) = c3a47fde201d61a7b7674020f5c998173a61b216
diff -r d57780461f99 -r 507bdd9146e6 print/poppler/patches/patch-poppler_StructElement.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/patches/patch-poppler_StructElement.cc      Wed Sep 20 15:21:10 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-poppler_StructElement.cc,v 1.1 2017/09/20 15:21:10 jperkin Exp $
+
+Support older clang, from Homebrew.
+
+--- poppler/StructElement.cc.orig      2017-08-13 18:30:15.000000000 +0000
++++ poppler/StructElement.cc
+@@ -248,6 +248,7 @@ 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");



Home | Main Index | Thread Index | Old Index