summaryrefslogtreecommitdiffstats
path: root/source/xap
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-07-01 01:23:50 +0000
committer Eric Hameleers <alien@slackware.com>2022-07-01 07:00:12 +0200
commit39b1756029b786eef5baf0dd54ed604115aede58 (patch)
tree5990c6ad3c55f2746db94a18830360644e54fae9 /source/xap
parent48b40014b732ffda7ca9920211fe7309d8f62b30 (diff)
downloadcurrent-39b1756029b786eef5baf0dd54ed604115aede58.tar.gz
current-39b1756029b786eef5baf0dd54ed604115aede58.tar.xz
Fri Jul 1 01:23:50 UTC 202220220701012350
a/kernel-generic-5.18.8-x86_64-1.txz: Upgraded. a/kernel-huge-5.18.8-x86_64-1.txz: Upgraded. a/kernel-modules-5.18.8-x86_64-1.txz: Upgraded. ap/dmidecode-3.4-x86_64-1.txz: Upgraded. ap/vim-9.0.0008-x86_64-1.txz: Upgraded. d/kernel-headers-5.18.8-x86-1.txz: Upgraded. k/kernel-source-5.18.8-noarch-1.txz: Upgraded. l/harfbuzz-4.4.1-x86_64-1.txz: Upgraded. l/libzip-1.9.2-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-102.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/102.0/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2022-26/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34479 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34470 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34468 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2226 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34481 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31744 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34472 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34478 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2200 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34484 (* Security fix *) xap/vim-gvim-9.0.0008-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/xap')
-rw-r--r--source/xap/mozilla-thunderbird/double_t.x86.diff13
-rwxr-xr-xsource/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild14
2 files changed, 24 insertions, 3 deletions
diff --git a/source/xap/mozilla-thunderbird/double_t.x86.diff b/source/xap/mozilla-thunderbird/double_t.x86.diff
new file mode 100644
index 000000000..12f04c378
--- /dev/null
+++ b/source/xap/mozilla-thunderbird/double_t.x86.diff
@@ -0,0 +1,13 @@
+--- ./modules/fdlibm/src/math_private.h.orig 2022-06-27 21:04:57.000000000 -0500
++++ ./modules/fdlibm/src/math_private.h 2022-06-30 13:41:46.761170878 -0500
+@@ -30,8 +30,8 @@
+ * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
+ */
+
+-typedef double __double_t;
+-typedef __double_t double_t;
++typedef long double __double_t;
++typedef long double double_t;
+
+ /*
+ * The original fdlibm code used statements like:
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
index 7762dd91d..1c8b30327 100755
--- a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
+++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2016, 2017, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -107,8 +107,8 @@ else
fi
# Choose a compiler (gcc/g++ or clang/clang++):
-export CC=${CC:-clang}
-export CXX=${CXX:-clang++}
+export CC=${CC:-gcc}
+export CXX=${CXX:-g++}
# Set linker to use:
if [ "$CC" = "clang" -a "$(which lld 2> /dev/null)" = "/usr/bin/lld" ]; then
@@ -172,6 +172,11 @@ zcat $CWD/tb.ui.scrollToClick.diff.gz | patch -p1 --verbose || exit 1
# Bypass a test that fails the build:
zcat $CWD/gkrust.a.no.networking.check.diff.gz | patch -p1 --verbose || exit 1
+# Fix header mismatch on x86:
+if [ "$ARCH" = "i686" ]; then
+ zcat $CWD/double_t.x86.diff.gz | patch -p1 --verbose || exit 1
+fi
+
# Fetch localization, if requested:
if [ ! -z $MOZLOCALIZE ]; then
LOC_TAG="THUNDERBIRD_$( echo $VERSION | tr \. _ )_RELEASE"
@@ -205,6 +210,9 @@ OPTIONS="\
--with-system-nss \
--with-system-nspr \
--enable-alsa \
+ --with-unsigned-addon-scopes=app,system \
+ --without-wasm-sandboxed-libraries \
+ --allow-addon-sideload \
--enable-application=comm/mail \
--enable-default-toolkit=cairo-gtk3-wayland \
--enable-linker=$LINKER \