From e50084cec5d7820821c2f85b2c22d1ae0dd8cf29 Mon Sep 17 00:00:00 2001 From: Taner Tas Date: Wed, 13 Jun 2018 17:28:53 +0300 Subject: community/firefox-esr: Fix window decorations on x86 --- community/firefox-esr/APKBUILD | 4 +++- community/firefox-esr/discard-x86-precision-musl.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 community/firefox-esr/discard-x86-precision-musl.patch (limited to 'community/firefox-esr') diff --git a/community/firefox-esr/APKBUILD b/community/firefox-esr/APKBUILD index 1a4c9465b8b..e0986180aba 100644 --- a/community/firefox-esr/APKBUILD +++ b/community/firefox-esr/APKBUILD @@ -4,7 +4,7 @@ pkgname=firefox-esr pkgver=52.8.0 _pkgver=$pkgver _xulver=$pkgver -pkgrel=0 +pkgrel=1 pkgdesc="Firefox web browser - Extended Support Release" url="https://www.mozilla.org/en-US/firefox/organizations/faq/" arch="all" @@ -69,6 +69,7 @@ source="https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox mozilla-build-arm.patch disable-moz-stackwalk.patch missing-header-s390x.patch + discard-x86-precision-musl.patch firefox.desktop firefox-safe.desktop" @@ -262,5 +263,6 @@ ed0d344c66fc8e1cc83a11e9858b32c42e841cbeedd9eb9438811e9fcc3593dc824a8336d00058d5 e61664bc93eadce5016a06a4d0684b34a05074f1815e88ef2613380d7b369c6fd305fb34f83b5eb18b9e3138273ea8ddcfdcb1084fdcaa922a1e5b30146a3b18 mozilla-build-arm.patch 4797d2d89ac63a57abb826b8ea9f751314ce66946194033deb9d78c2ff377b88106fd2c7bc5034dc13ad03dd5085b1893c3ccae1a9e63fde35655bb0921f7188 disable-moz-stackwalk.patch 6beba471b6a7fc229a9c105d58137f80cec07219e52bb9a666c787b37ca88635d6ec2eba651eccb5096429c2965709c9475c89839c255c3545f8c96c5d40f403 missing-header-s390x.patch +fc3fd5a3ad4b83feb9dbe9ecc91d5ae51ce5cd13af481b79910e1e13a79ac6c9b77cf025c14516327391a55172bc13a6f02d9bc7a51eef08fcbbcaaa37845818 discard-x86-precision-musl.patch f3b7c3e804ce04731012a46cb9e9a6b0769e3772aef9c0a4a8c7520b030fdf6cd703d5e9ff49275f14b7d738fe82a0a4fde3bc3219dff7225d5db0e274987454 firefox.desktop 5dcb6288d0444a8a471d669bbaf61cdb1433663eff38b72ee5e980843f5fc07d0d60c91627a2c1159215d0ad77ae3f115dcc5fdfe87e64ca704b641aceaa44ed firefox-safe.desktop" diff --git a/community/firefox-esr/discard-x86-precision-musl.patch b/community/firefox-esr/discard-x86-precision-musl.patch new file mode 100644 index 00000000000..0a5aa4721d5 --- /dev/null +++ b/community/firefox-esr/discard-x86-precision-musl.patch @@ -0,0 +1,11 @@ +--- a/js/src/jsnum.cpp ++++ b/js/src/jsnum.cpp +@@ -1120,7 +1120,7 @@ + void + js::FIX_FPU() + { +-#if (defined __GNUC__ && defined __i386__) || \ ++#if (defined __GLIBC__ && defined __i386__) || \ + (defined __SUNPRO_CC && defined __i386) + short control; + asm("fstcw %0" : "=m" (control) : ); -- cgit v1.2.3