pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox www/firefox: Add workaround for pkg/54563, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cf268f9258c
branches:  trunk
changeset: 401721:8cf268f9258c
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Mon Sep 23 08:05:18 2019 +0000

description:
www/firefox: Add workaround for pkg/54563, to build firefox with clang
(work around for libc++ vs netbsd headers).

diffstat:

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

diffs (36 lines):

diff -r 6ba06421ffcc -r 8cf268f9258c www/firefox/distinfo
--- a/www/firefox/distinfo      Mon Sep 23 04:50:10 2019 +0000
+++ b/www/firefox/distinfo      Mon Sep 23 08:05:18 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.366 2019/09/21 07:25:50 ryoon Exp $
+$NetBSD: distinfo,v 1.367 2019/09/23 08:05:18 ng0 Exp $
 
 SHA1 (firefox-69.0.1.source.tar.xz) = 3c693918d85e789944e6fe59fe76c34115cae906
 RMD160 (firefox-69.0.1.source.tar.xz) = 602f9a09967c6badf9ce7e0025518e2ed3ac3bac
@@ -7,6 +7,7 @@
 SHA1 (patch-aa) = 1f292aae7d37bd480ba834324b737bfebee52503
 SHA1 (patch-browser_app_profile_firefox.js) = 076cc2892547bac07fe907533f4e821f13f5738e
 SHA1 (patch-build_moz.configure_old.configure) = 05963b12fd908d90e3378b30cff7e48291b8a447
+SHA1 (patch-config__make_system_wrappers.py) = 18605b32428e96915c945a189548505deacd2333
 SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
 SHA1 (patch-dom_media_CubebUtils.cpp) = b1b4f981c4bede877e3bd092d2648d4b8cbc73a5
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
diff -r 6ba06421ffcc -r 8cf268f9258c www/firefox/patches/patch-config__make_system_wrappers.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-config__make_system_wrappers.py Mon Sep 23 08:05:18 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-config__make_system_wrappers.py,v 1.1 2019/09/23 08:05:18 ng0 Exp $
+
+This is a workaround for building firefox with clang from base,
+with a conflict with __isinf(__x) in libc++ vs netbsd headers.
+
+--- config/make-system-wrappers.py.orig 2019-01-24 18:48:39.000000000 +0000
++++ config/make-system-wrappers.py
+@@ -6,6 +6,7 @@ import os
+ from mozbuild.util import FileAvoidWrite
+
+ header_template = '''#pragma GCC system_header
++#define __isinf(x) __builtin_isinf(x)
+ #pragma GCC visibility push(default)
+ {includes}
+ #pragma GCC visibility pop



Home | Main Index | Thread Index | Old Index