pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/firefox52 PR 56265: add an explicit template insta...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94c1176c6965
branches: trunk
changeset: 454815:94c1176c6965
user: martin <martin%pkgsrc.org@localhost>
date: Mon Jun 21 14:21:28 2021 +0000
description:
PR 56265: add an explicit template instantiation for the "external" variant
used in a different compilation unit, so this builds with newer gcc
versions.
diffstat:
www/firefox52/distinfo | 3 +-
www/firefox52/patches/patch-gfx_thebes_gfxFont.cpp | 28 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 6aac1e85066b -r 94c1176c6965 www/firefox52/distinfo
--- a/www/firefox52/distinfo Mon Jun 21 14:05:12 2021 +0000
+++ b/www/firefox52/distinfo Mon Jun 21 14:21:28 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2021/06/16 22:21:12 nia Exp $
+$NetBSD: distinfo,v 1.28 2021/06/21 14:21:28 martin Exp $
SHA1 (firefox-52.9.0esr.source.tar.xz) = df3d47518b380fe934e32a288515c25435fd82a7
RMD160 (firefox-52.9.0esr.source.tar.xz) = 8940269f0a515c0066b6ab2eea1da8963d27617b
@@ -45,6 +45,7 @@
SHA1 (patch-gfx_moz.build) = 0d669ac6dc1af17ea8ed7e84e4915947c2a6b1ca
SHA1 (patch-gfx_skia_generate__mozbuild.py) = fba2f212f84e6cc20a4269e21ed654c348ae8fee
SHA1 (patch-gfx_skia_moz.build) = 7363e76ac75e27cffe5ee1194741d444a625b871
+SHA1 (patch-gfx_thebes_gfxFont.cpp) = 5e244e242d169203b806244a382840ca72780f27
SHA1 (patch-gfx_thebes_moz.build) = 0435f36d573fee1bb300612e4b7dc6fcda2d5456
SHA1 (patch-gfx_ycbcr_moz.build) = 705c36b972ef1533330e4a180002cef1c22755bf
SHA1 (patch-gfx_ycbcr_yuv__row__arm.S) = 79587891c2a1716a27d4dca0e5b5880069a430eb
diff -r 6aac1e85066b -r 94c1176c6965 www/firefox52/patches/patch-gfx_thebes_gfxFont.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox52/patches/patch-gfx_thebes_gfxFont.cpp Mon Jun 21 14:21:28 2021 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-gfx_thebes_gfxFont.cpp,v 1.1 2021/06/21 14:21:28 martin Exp $
+
+Add an explicit template instantiation to make it work
+with newer gcc (older gcc did not create specialized inline
+clones).
+
+--- gfx/thebes/gfxFont.cpp.orig 2017-04-11 04:13:08.000000000 +0200
++++ gfx/thebes/gfxFont.cpp 2021-06-21 15:18:43.789260654 +0200
+@@ -2614,6 +2614,18 @@ gfxFont::GetShapedWord(DrawTarget *aDraw
+ return sw;
+ }
+
++template
++gfxShapedWord*
++gfxFont::GetShapedWord(DrawTarget *aDrawTarget,
++ const uint8_t *aText,
++ uint32_t aLength,
++ uint32_t aHash,
++ Script aRunScript,
++ bool aVertical,
++ int32_t aAppUnitsPerDevUnit,
++ uint32_t aFlags,
++ gfxTextPerfMetrics *aTextPerf GFX_MAYBE_UNUSED);
++
+ bool
+ gfxFont::CacheHashEntry::KeyEquals(const KeyTypePointer aKey) const
+ {
+
Home |
Main Index |
Thread Index |
Old Index