- fix building with gcc 10 auto/th/seamonkey-2.49.5-5
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 7 Jul 2020 08:55:35 +0000 (10:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 7 Jul 2020 08:55:35 +0000 (10:55 +0200)
- rel 5

mozilla-1389436.patch [new file with mode: 0644]
seamonkey.spec

diff --git a/mozilla-1389436.patch b/mozilla-1389436.patch
new file mode 100644 (file)
index 0000000..af4f7cf
--- /dev/null
@@ -0,0 +1,31 @@
+
+# HG changeset patch
+# User Mike Hommey <mh+mozilla@glandium.org>
+# Date 1502455819 -32400
+# Node ID 97dae871389b7f22a7096a020781b07a5a61de58
+# Parent  c73f64ef71d2d87f36008f5ff661f4050692bd06
+Bug 1389436 - Explicitly instantiate gfxFont::GetShapedWord<uint8_t> for its use in gfxTextRun.cpp. r=jfkthame
+
+diff --git a/mozilla/gfx/thebes/gfxFont.cpp b/mozilla/gfx/thebes/gfxFont.cpp
+index d0b747f..8d3dd8b 100644
+--- a/mozilla/gfx/thebes/gfxFont.cpp
++++ b/mozilla/gfx/thebes/gfxFont.cpp
+@@ -2614,6 +2614,18 @@ gfxFont::GetShapedWord(DrawTarget *aDrawTarget,
+     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);
++
++
+ bool
+ gfxFont::CacheHashEntry::KeyEquals(const KeyTypePointer aKey) const
+ {
index bae0cfd397aed03fdba56ddcdfe29ee636363809..d3893f36979ae3bc8f63dab618208ae2d49e3746 100644 (file)
@@ -31,7 +31,7 @@ Summary(pl.UTF-8):    SeaMonkey Community Edition - przeglądarka WWW
 Summary(pt_BR.UTF-8):  Navegador SeaMonkey Community Edition
 Name:          seamonkey
 Version:       2.49.5
-Release:       4
+Release:       5
 License:       MPL v2.0
 Group:         X11/Applications/Networking
 Source0:       http://ftp.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
@@ -88,6 +88,7 @@ Patch4:               %{name}-system-virtualenv.patch
 Patch5:                %{name}-icu-detect.patch
 Patch6:                %{name}-glibc2.30.patch
 Patch7:                %{name}-crmf.patch
+Patch8:                mozilla-1389436.patch
 URL:           https://www.seamonkey-project.org/
 BuildRequires: GConf2-devel >= 1.2.1
 BuildRequires: OpenGL-devel
@@ -584,6 +585,7 @@ unpack() {
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 cat << EOF > .mozconfig
This page took 0.2774 seconds and 4 git commands to generate.