pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox Add a patch accidentally missing in my pre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c311bacd1144
branches:  trunk
changeset: 320405:c311bacd1144
user:      rin <rin%pkgsrc.org@localhost>
date:      Tue Mar 05 01:24:20 2019 +0000

description:
Add a patch accidentally missing in my previous commit:
- NetBSD/aarch64 doesn't have <sys/auxv.h>.

Fix build for NetBSD/aarch64.

diffstat:

 www/firefox/distinfo                                       |   3 +-
 www/firefox/patches/patch-gfx_skia_skia_src_core_SkCpu.cpp |  15 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 6e3308d1a5f2 -r c311bacd1144 www/firefox/distinfo
--- a/www/firefox/distinfo      Tue Mar 05 00:40:51 2019 +0000
+++ b/www/firefox/distinfo      Tue Mar 05 01:24:20 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.341 2019/03/04 15:53:06 ryoon Exp $
+$NetBSD: distinfo,v 1.342 2019/03/05 01:24:20 rin Exp $
 
 SHA1 (firefox-65.0.2.source.tar.xz) = b38b5f10faac672656933c1c3537281d449d2785
 RMD160 (firefox-65.0.2.source.tar.xz) = 62587dbd874fa2a302cd8aed715512bce3241b67
@@ -11,6 +11,7 @@
 SHA1 (patch-dom_media_CubebUtils.cpp) = cafbfb2781967ebe96b4f77b8a0630fff537fd02
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = 383f25417ad74f3ef8034437b52fc23f3bcbfc24
 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef
+SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
 SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = 16e37fe54ba1d8d233f6b04dbd06e248305d7f6e
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 5bd658e28e99982b3c261d3f1fe4f72347241dca
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = bffcd93821440d7bd547158a418a7fb6721ca4c5
diff -r 6e3308d1a5f2 -r c311bacd1144 www/firefox/patches/patch-gfx_skia_skia_src_core_SkCpu.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-gfx_skia_skia_src_core_SkCpu.cpp        Tue Mar 05 01:24:20 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-gfx_skia_skia_src_core_SkCpu.cpp,v 1.1 2019/03/05 01:24:21 rin Exp $
+
+NetBSD/aarch64 doesn't have <sys/auxv.h>.
+
+--- gfx/skia/skia/src/core/SkCpu.cpp.orig      2019-03-05 00:32:47.658232017 +0900
++++ gfx/skia/skia/src/core/SkCpu.cpp   2019-03-05 00:33:10.203589997 +0900
+@@ -70,7 +70,7 @@
+         return features;
+     }
+ 
+-#elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
++#elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>) && !defined(__NetBSD__)
+     #include <sys/auxv.h>
+ 
+     static uint32_t read_cpu_features() {



Home | Main Index | Thread Index | Old Index