summarylogtreecommitdiffstats
path: root/0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch
diff options
context:
space:
mode:
authorBjörn Bidar2023-03-23 23:23:11 +0200
committerBjörn Bidar2023-03-23 23:43:53 +0200
commita4ae66b6b28607dd7bec51cae73300552ec8fafd (patch)
tree1e9b32b65ea282f4a3e7693dc165d6c9db6a33cf /0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch
parent61abbb0481681a0894d4c1b98f685dcada8ab2e8 (diff)
downloadaur-a4ae66b6b28607dd7bec51cae73300552ec8fafd.tar.gz
Update to 111.0-1
- New upstream release - Use tarball instead of hg sources - Restructure patching process - All patches are checked into git and then applied on top of the existing Mozilla sources. Doing so allows rebasing of patches to be done by a simple git rebase, all patches cherry-picked from upstream are then automatically excluded upon updating. - Rebase patch-set based on OpenSUSE patches, updates to the package will be faster this way. - The sources can be found here: https://github.com/Thaodan/gecko-dev The branches are split of from the mozilla 'release' branch that is set to the latest release version into release/$major.$minor.x and then the thaodan/release/$major.$minor.x branch is rebased upon that. - Remove other obsolete patches - Drop obsolete kde.js, it was removed in the OpenSUSE patches long ago, is redundant and doesn't function anymore. boo#1151186 https://bugzilla.opensuse.org/show_bug.cgi?id=1151186 Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Diffstat (limited to '0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch')
-rw-r--r--0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch b/0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch
new file mode 100644
index 000000000000..dfdefbdfd4d4
--- /dev/null
+++ b/0001-Bug-1005535-Get-skia-GPU-building-on-big-endian.patch
@@ -0,0 +1,22 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Steve Singer <steve@ssinger.info>
+Date: Tue, 21 May 2019 17:12:20 +0200
+Subject: [PATCH] Bug 1005535 - Get skia GPU building on big endian.
+
+---
+ gfx/skia/skia/src/gpu/GrColor.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gfx/skia/skia/src/gpu/GrColor.h b/gfx/skia/skia/src/gpu/GrColor.h
+index 39e7bfa7bf19799bfafa5d3f5371d96138f0bd7f..57b405f3b7599689f1c3a7a7b31b0039b2a8c98d 100644
+--- a/gfx/skia/skia/src/gpu/GrColor.h
++++ b/gfx/skia/skia/src/gpu/GrColor.h
+@@ -64,7 +64,7 @@ static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsign
+ * 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)))
+
+ /** Normalizes and coverts an uint8_t to a float. [0, 255] -> [0.0, 1.0] */
+ static inline float GrNormalizeByteToFloat(uint8_t value) {