pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox Don't hack __isinf for libc++, it makes th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d8ddb2a8f0d
branches:  trunk
changeset: 426232:9d8ddb2a8f0d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 29 01:01:19 2020 +0000

description:
Don't hack __isinf for libc++, it makes things worse.

diffstat:

 www/firefox/Makefile                                      |   4 ++-
 www/firefox/patches/patch-config__make_system_wrappers.py |  17 ---------------
 2 files changed, 3 insertions(+), 18 deletions(-)

diffs (39 lines):

diff -r 4eb87f31fd5c -r 9d8ddb2a8f0d www/firefox/Makefile
--- a/www/firefox/Makefile      Sun Mar 29 01:00:33 2020 +0000
+++ b/www/firefox/Makefile      Sun Mar 29 01:01:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.415 2020/03/14 04:49:16 ryoon Exp $
+# $NetBSD: Makefile,v 1.416 2020/03/29 01:01:19 joerg Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            74.0
@@ -15,6 +15,8 @@
 COMMENT=       Web browser with support for extensions (version ${FIREFOX_VER:C/\..*//})
 LICENSE=       mpl-1.1
 
+UNLIMIT_RESOURCES+=    datasize virtualsize
+
 WRKSRC=                ${WRKDIR}/firefox-${FIREFOX_VER:C/b.*//}
 
 MOZILLA_DIR=   # empty
diff -r 4eb87f31fd5c -r 9d8ddb2a8f0d www/firefox/patches/patch-config__make_system_wrappers.py
--- a/www/firefox/patches/patch-config__make_system_wrappers.py Sun Mar 29 01:00:33 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-config__make_system_wrappers.py,v 1.3 2020/02/26 17:48:58 maya 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-12-02 12:22:52.000000000 +0000
-+++ config/make-system-wrappers.py
-@@ -7,6 +7,9 @@ import os
- from mozbuild.util import FileAvoidWrite
- 
- header_template = '''#pragma GCC system_header
-+#ifdef __NetBSD__
-+#define __isinf(x) __builtin_isinf(x)
-+#endif
- #pragma GCC visibility push(default)
- {includes}
- #pragma GCC visibility pop



Home | Main Index | Thread Index | Old Index