mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
lang/spidermonkey78: Fix build with llvm16
- Refresh patches Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2d9edc4270
commit
60ef64a607
@ -0,0 +1,11 @@
|
|||||||
|
--- build/moz.configure/flags.configure.orig 2023-06-24 10:37:11 UTC
|
||||||
|
+++ build/moz.configure/flags.configure
|
||||||
|
@@ -56,7 +56,7 @@ def new_pass_manager_flags(enabled, compiler, host, ta
|
||||||
|
# Temporary until https://bugs.llvm.org/show_bug.cgi?id=45835 gets a
|
||||||
|
# real fix: clang 10 hangs with some ubsan-inserted code constructs.
|
||||||
|
return None
|
||||||
|
- if enabled and compiler.version >= '9.0.0':
|
||||||
|
+ if enabled and compiler.version >= '9.0.0' and compiler.version < '16.0.0':
|
||||||
|
if compiler.type == 'clang':
|
||||||
|
return ['-fexperimental-new-pass-manager']
|
||||||
|
elif compiler.type == 'clang-cl':
|
@ -1,4 +1,4 @@
|
|||||||
--- python/mozbuild/mozbuild/util.py.orig 2021-03-15 15:52:38 UTC
|
--- python/mozbuild/mozbuild/util.py.orig 2021-09-28 10:04:57 UTC
|
||||||
+++ python/mozbuild/mozbuild/util.py
|
+++ python/mozbuild/mozbuild/util.py
|
||||||
@@ -27,6 +27,11 @@ from collections import (
|
@@ -27,6 +27,11 @@ from collections import (
|
||||||
)
|
)
|
||||||
@ -12,6 +12,15 @@
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
|
@@ -220,7 +225,7 @@ class FileAvoidWrite(BytesIO):
|
||||||
|
still occur, as well as diff capture if requested.
|
||||||
|
"""
|
||||||
|
|
||||||
|
- def __init__(self, filename, capture_diff=False, dry_run=False, readmode='rU'):
|
||||||
|
+ def __init__(self, filename, capture_diff=False, dry_run=False, readmode='r'):
|
||||||
|
BytesIO.__init__(self)
|
||||||
|
self.name = filename
|
||||||
|
assert type(capture_diff) == bool
|
||||||
@@ -782,7 +787,7 @@ class HierarchicalStringList(object):
|
@@ -782,7 +787,7 @@ class HierarchicalStringList(object):
|
||||||
self._strings = StrictOrderingOnAppendList()
|
self._strings = StrictOrderingOnAppendList()
|
||||||
self._children = {}
|
self._children = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user