--- a/MozillaFirefox/MozillaFirefox.changes Wed Mar 14 22:20:32 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes Fri Mar 16 18:31:19 2018 +0100
@@ -1,4 +1,21 @@
-------------------------------------------------------------------
+Fri Mar 16 06:40:11 UTC 2018 - wr@rosenauer.org
+
+- update to Firefox 59.0.1 (bsc#1085671)
+ MFSA 2018-08
+ * CVE-2018-5146 (bmo#1446062)
+ Vorbis audio processing out of bounds write
+ * CVE-2018-5147 (bmo#1446365)
+ Out of bounds memory write in libtremor
+
+-------------------------------------------------------------------
+Wed Mar 14 19:27:07 UTC 2018 - cgrobertson@suse.com
+
+- Added patch:
+ * mozilla-bmo1005535.patch:
+ Enable skia_gpu on big endian platforms.
+
+-------------------------------------------------------------------
Sun Mar 11 22:12:12 UTC 2018 - wr@rosenauer.org
- update to Firefox 59.0
@@ -55,6 +72,16 @@
Firefox source tree (updated create-tar.sh now requires jq)
-------------------------------------------------------------------
+Fri Feb 9 13:37:46 UTC 2018 - astieger@suse.com
+
+- Mozilla Firefox 58.0.2:
+ * Blocklisted graphics drivers related to off main thread painting
+ crashes
+ * Fix tab crash during printing
+ * Fix clicking links and scrolling emails on Microsoft Hotmail
+ and Outlook (OWA) webmail
+
+-------------------------------------------------------------------
Fri Feb 9 12:06:31 UTC 2018 - wr@rosenauer.org
- correct requires and provides handling (boo#1076907)
--- a/MozillaFirefox/MozillaFirefox.spec Wed Mar 14 22:20:32 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec Fri Mar 16 18:31:19 2018 +0100
@@ -19,10 +19,10 @@
# changed with every update
%define major 59
-%define mainver %major.0
+%define mainver %major.0.1
%define update_channel release
%define branding 1
-%define releasedate 20180310025718
+%define releasedate 20180315233128
# PIE, full relro (x86_64 for now)
%define build_hardened 1
@@ -150,6 +150,7 @@
Patch6: mozilla-reduce-files-per-UnifiedBindings.patch
Patch7: mozilla-aarch64-startup-crash.patch
Patch8: mozilla-bmo256180.patch
+Patch9: mozilla-bmo1005535.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch
@@ -260,6 +261,7 @@
%endif
%patch7 -p1
%patch8 -p1
+%patch9 -p1
# Firefox
%patch101 -p1
%patch102 -p1
@@ -333,7 +335,7 @@
ac_add_options --disable-optimize
%endif
%endif
-%ifarch ppc ppc64 ppc64le %arm
+%ifarch %arm
ac_add_options --disable-elf-hack
%endif
ac_add_options --with-system-nspr
--- a/MozillaFirefox/_constraints Wed Mar 14 22:20:32 2018 +0100
+++ b/MozillaFirefox/_constraints Fri Mar 16 18:31:19 2018 +0100
@@ -5,7 +5,7 @@
<size unit="G">16</size>
</disk>
<memory>
- <size unit="M">9000</size>
+ <size unit="G">12</size>
</memory>
</hardware>
<overwrite>
--- a/MozillaFirefox/create-tar.sh Wed Mar 14 22:20:32 2018 +0100
+++ b/MozillaFirefox/create-tar.sh Fri Mar 16 18:31:19 2018 +0100
@@ -7,8 +7,8 @@
CHANNEL="release"
BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="c61f5f5ead48c78a80c80db5c489bdc7cfaf8175"
-VERSION="59.0"
+RELEASE_TAG="FIREFOX_59_0_1_RELEASE"
+VERSION="59.0.1"
# check required tools
test -x /usr/bin/hg || ( echo "hg missing: execute zypper in mercurial"; exit 5 )
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1005535.patch Fri Mar 16 18:31:19 2018 +0100
@@ -0,0 +1,1 @@
+../mozilla-bmo1005535.patch
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1005535.patch Fri Mar 16 18:31:19 2018 +0100
@@ -0,0 +1,123 @@
+# HG changeset patch
+# Parent 376f185a0a757fe128be665adbb705f4a56461bc
+# User Steve Singer <steve@ssinger.info>
+# Parent 23e95bbe4d5553a2ba9dda2a4a96a2029253597c
+Bug 1005535 - Get skia GPU building on big endian.
+
+diff --git a/gfx/skia/skia/include/core/SkColorPriv.h b/gfx/skia/skia/include/core/SkColorPriv.h
+--- a/gfx/skia/skia/include/core/SkColorPriv.h
++++ b/gfx/skia/skia/include/core/SkColorPriv.h
+@@ -27,37 +27,27 @@
+ * For easier compatibility with Skia's GPU backend, we further restrict these
+ * to either (in memory-byte-order) RGBA or BGRA. Note that this "order" does
+ * not directly correspond to the same shift-order, since we have to take endianess
+ * into account.
+ *
+ * Here we enforce this constraint.
+ */
+
+-#ifdef SK_CPU_BENDIAN
+- #define SK_RGBA_R32_SHIFT 24
+- #define SK_RGBA_G32_SHIFT 16
+- #define SK_RGBA_B32_SHIFT 8
+- #define SK_RGBA_A32_SHIFT 0
+
+- #define SK_BGRA_B32_SHIFT 24
+- #define SK_BGRA_G32_SHIFT 16
+- #define SK_BGRA_R32_SHIFT 8
+- #define SK_BGRA_A32_SHIFT 0
+-#else
+ #define SK_RGBA_R32_SHIFT 0
+ #define SK_RGBA_G32_SHIFT 8
+ #define SK_RGBA_B32_SHIFT 16
+ #define SK_RGBA_A32_SHIFT 24
+
+ #define SK_BGRA_B32_SHIFT 0
+ #define SK_BGRA_G32_SHIFT 8
+ #define SK_BGRA_R32_SHIFT 16
+ #define SK_BGRA_A32_SHIFT 24
+-#endif
++
+
+ #if defined(SK_PMCOLOR_IS_RGBA) && defined(SK_PMCOLOR_IS_BGRA)
+ #error "can't define PMCOLOR to be RGBA and BGRA"
+ #endif
+
+ #define LOCAL_PMCOLOR_SHIFTS_EQUIVALENT_TO_RGBA \
+ (SK_A32_SHIFT == SK_RGBA_A32_SHIFT && \
+ SK_R32_SHIFT == SK_RGBA_R32_SHIFT && \
+diff --git a/gfx/skia/skia/include/core/SkImageInfo.h b/gfx/skia/skia/include/core/SkImageInfo.h
+--- a/gfx/skia/skia/include/core/SkImageInfo.h
++++ b/gfx/skia/skia/include/core/SkImageInfo.h
+@@ -78,17 +78,17 @@ enum SkColorType {
+
+ kLastEnum_SkColorType = kRGBA_F16_SkColorType,
+
+ #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
+ kN32_SkColorType = kBGRA_8888_SkColorType,
+ #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
+ kN32_SkColorType = kRGBA_8888_SkColorType,
+ #else
+- #error "SK_*32_SHFIT values must correspond to BGRA or RGBA byte order"
++ kN32_SkColorType = kBGRA_8888_SkColorType
+ #endif
+ };
+
+ static int SkColorTypeBytesPerPixel(SkColorType ct) {
+ static const uint8_t gSize[] = {
+ 0, // Unknown
+ 1, // Alpha_8
+ 2, // RGB_565
+diff --git a/gfx/skia/skia/include/gpu/GrColor.h b/gfx/skia/skia/include/gpu/GrColor.h
+--- a/gfx/skia/skia/include/gpu/GrColor.h
++++ b/gfx/skia/skia/include/gpu/GrColor.h
+@@ -69,17 +69,17 @@ static inline GrColor GrColorPackA4(unsi
+ #define GrColorUnpackG(color) (((color) >> GrColor_SHIFT_G) & 0xFF)
+ #define GrColorUnpackB(color) (((color) >> GrColor_SHIFT_B) & 0xFF)
+ #define GrColorUnpackA(color) (((color) >> GrColor_SHIFT_A) & 0xFF)
+
+ /**
+ * Since premultiplied means that alpha >= color, we construct a color with
+ * each component==255 and alpha == 0 to be "illegal"
+ */
+-#define GrColor_ILLEGAL (~(0xFF << GrColor_SHIFT_A))
++#define GrColor_ILLEGAL ((uint32_t)(~(0xFF << GrColor_SHIFT_A)))
+
+ #define GrColor_WHITE 0xFFFFFFFF
+ #define GrColor_TRANSPARENT_BLACK 0x0
+
+ /**
+ * Assert in debug builds that a GrColor is premultiplied.
+ */
+ static inline void GrColorIsPMAssert(GrColor SkDEBUGCODE(c)) {
+diff --git a/gfx/skia/skia/include/gpu/GrTypes.h b/gfx/skia/skia/include/gpu/GrTypes.h
+--- a/gfx/skia/skia/include/gpu/GrTypes.h
++++ b/gfx/skia/skia/include/gpu/GrTypes.h
+@@ -321,25 +321,23 @@ enum GrPixelConfig {
+ */
+ kRGBA_half_GrPixelConfig,
+
+ kLast_GrPixelConfig = kRGBA_half_GrPixelConfig
+ };
+ static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1;
+
+ // Aliases for pixel configs that match skia's byte order.
+-#ifndef SK_CPU_LENDIAN
+- #error "Skia gpu currently assumes little endian"
+-#endif
++
+ #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
+ static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
+ #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
+ static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
+ #else
+- #error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format."
++ static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
+ #endif
+
+ // Returns true if the pixel config is a GPU-specific compressed format
+ // representation.
+ static inline bool GrPixelConfigIsCompressed(GrPixelConfig config) {
+ switch (config) {
+ case kETC1_GrPixelConfig:
+ return true;
--- a/series Wed Mar 14 22:20:32 2018 +0100
+++ b/series Fri Mar 16 18:31:19 2018 +0100
@@ -7,6 +7,7 @@
mozilla-reduce-files-per-UnifiedBindings.patch
mozilla-aarch64-startup-crash.patch
mozilla-bmo256180.patch
+mozilla-bmo1005535.patch
# Firefox patches
firefox-kde.patch