diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:49:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:49:03 +0000 |
commit | f7359bb5d4af5721623ec8a5aa8b13d2ebce6a98 (patch) | |
tree | 45b8fb78a492d1e85f34e2289e41536f0be60c0a /debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-f7359bb5d4af5721623ec8a5aa8b13d2ebce6a98.tar.xz firefox-f7359bb5d4af5721623ec8a5aa8b13d2ebce6a98.zip |
Adding debian version 124.0.1-1.debian/124.0.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch')
-rw-r--r-- | debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch b/debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch new file mode 100644 index 0000000000..8efdf0ce8c --- /dev/null +++ b/debian/patches/debian-hacks/Work-around-GCC-ICE-on-ppc64el.patch @@ -0,0 +1,29 @@ +From: Mike Hommey <mh@glandium.org> +Date: Tue, 11 Jul 2023 06:34:59 +0900 +Subject: Work around GCC ICE on ppc64el + +--- + gfx/skia/moz.build | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build +index 83aa295..ab1581d 100644 +--- a/gfx/skia/moz.build ++++ b/gfx/skia/moz.build +@@ -359,7 +359,15 @@ UNIFIED_SOURCES += [ + 'skia/src/sksl/SkSLConstantFolder.cpp', + 'skia/src/sksl/SkSLContext.cpp', + 'skia/src/sksl/SkSLErrorReporter.cpp', +- 'skia/src/sksl/SkSLInliner.cpp', ++] ++ ++# Work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110606 ++if CONFIG['CC_TYPE'] == 'gcc' and CONFIG['CPU_ARCH'] == 'ppc64': ++ SOURCES += ['skia/src/sksl/SkSLInliner.cpp'] ++else: ++ UNIFIED_SOURCES += ['skia/src/sksl/SkSLInliner.cpp'] ++ ++UNIFIED_SOURCES += [ + 'skia/src/sksl/SkSLIntrinsicList.cpp', + 'skia/src/sksl/SkSLMangler.cpp', + 'skia/src/sksl/SkSLModuleLoader.cpp', |