pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/cliqz cliqz: Fixes builds in i386 platform.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab82b5676795
branches: trunk
changeset: 399116:ab82b5676795
user: fox <fox%pkgsrc.org@localhost>
date: Sat Aug 03 07:18:17 2019 +0000
description:
cliqz: Fixes builds in i386 platform.
NetBSD/i386 build were broken due to an internal compiler error when compiling with gcc.
Upstream bug report - https://bugzilla.mozilla.org/show_bug.cgi?id=1562886
diffstat:
www/cliqz/distinfo | 3 +-
www/cliqz/patches/patch-mozilla-release_gfx_skia_skia_third__party_skcms_src_Transform__inl.h | 23 ++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r aa08bf36e1d4 -r ab82b5676795 www/cliqz/distinfo
--- a/www/cliqz/distinfo Sat Aug 03 06:55:09 2019 +0000
+++ b/www/cliqz/distinfo Sat Aug 03 07:18:17 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2019/07/31 01:35:27 fox Exp $
+$NetBSD: distinfo,v 1.10 2019/08/03 07:18:17 fox Exp $
SHA1 (cliqz-1.28.0/adult-domains.bin) = 9dd0756b67aa17357ef61f3bea8303dad63540a1
RMD160 (cliqz-1.28.0/adult-domains.bin) = 78f46f31b27b4172a6aa6125619f92f751172a75
@@ -28,6 +28,7 @@
SHA1 (patch-mozilla-release_gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = c696b0dc6d2f25773ac4d928857b00b4f3799838
SHA1 (patch-mozilla-release_gfx_angle_checkout_src_compiler_translator_InfoSink.h) = e5f9cb8fac413267546a268ca0e50611b9965542
SHA1 (patch-mozilla-release_gfx_gl_GLContextProviderGLX.cpp) = 6153772492f099e806378b9f2d79c41923b1cefa
+SHA1 (patch-mozilla-release_gfx_skia_skia_third__party_skcms_src_Transform__inl.h) = 6d7a7c0ebde552ea85ff6c90e71c71c9628091e9
SHA1 (patch-mozilla-release_ipc_chromium_src_base_lock__impl__posix.cc) = 11283db62c0a392dc592b1a82c2d9c0788ee11bb
SHA1 (patch-mozilla-release_ipc_chromium_src_base_message__pump__libevent.cc) = 49051c927711fd5558f90aa651dccd99a887e95f
SHA1 (patch-mozilla-release_ipc_chromium_src_base_platform__thread__posix.cc) = 4ea5441d5dbcfbe71444e2f7eaa412c262c9804a
diff -r aa08bf36e1d4 -r ab82b5676795 www/cliqz/patches/patch-mozilla-release_gfx_skia_skia_third__party_skcms_src_Transform__inl.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/cliqz/patches/patch-mozilla-release_gfx_skia_skia_third__party_skcms_src_Transform__inl.h Sat Aug 03 07:18:17 2019 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-mozilla-release_gfx_skia_skia_third__party_skcms_src_Transform__inl.h,v 1.1 2019/08/03 07:18:18 fox Exp $
+
+Fixes the internal compiler error in skia Transform_inl.h
+
+This happens for MIPS 64 and GCC as documented in the code section,
+this has been extended for checks in s390x and the i*86 platforms.
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1562886
+
+PS: Probably remove this once upstream gcc fixes the issue.
+
+--- mozilla-release/gfx/skia/skia/third_party/skcms/src/Transform_inl.h.orig 2019-08-02 17:49:51.197475983 +0000
++++ mozilla-release/gfx/skia/skia/third_party/skcms/src/Transform_inl.h
+@@ -559,7 +559,8 @@ SI void sample_clut_16(const skcms_A2B*
+
+ // GCC 7.2.0 hits an internal compiler error with -finline-functions (or -O3)
+ // when targeting MIPS 64, I think attempting to inline clut() into exec_ops().
+-#if 1 && defined(__GNUC__) && !defined(__clang__) && defined(__mips64)
++// s390x and i*86 also hit this with GCC 7.4 and -O2
++#if 1 && defined(__GNUC__) && !defined(__clang__) && ( defined(__mips64) || defined(__s390x__) || defined( __i586__ ) || defined( __i486__ ) || defined( __i386__ ))
+ #define MAYBE_NOINLINE __attribute__((noinline))
+ #else
+ #define MAYBE_NOINLINE
Home |
Main Index |
Thread Index |
Old Index