summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-29 01:01:19 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-29 01:01:19 +0000
commiteb32365afa208bdaf5cde66fdaa7f9363896fd28 (patch)
tree34db6bd2c7638bdbf901e08a217c5b110fdfae3a /www
parentbb49c4042aa22c21bf6286cc783c519dda4993f2 (diff)
downloadpkgsrc-eb32365afa208bdaf5cde66fdaa7f9363896fd28.tar.gz
Don't hack __isinf for libc++, it makes things worse.
Diffstat (limited to 'www')
-rw-r--r--www/firefox/Makefile4
-rw-r--r--www/firefox/patches/patch-config__make_system_wrappers.py17
2 files changed, 3 insertions, 18 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index af7a3131aa4..fbb2647acf1 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -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 @@ HOMEPAGE= https://www.mozilla.org/en-US/firefox/
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 --git a/www/firefox/patches/patch-config__make_system_wrappers.py b/www/firefox/patches/patch-config__make_system_wrappers.py
deleted file mode 100644
index 4374ab7e2d1..00000000000
--- a/www/firefox/patches/patch-config__make_system_wrappers.py
+++ /dev/null
@@ -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