summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-07-25 21:50:36 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-07-25 21:50:36 +0000
commit1ead82d6df6ade922c0b72fce6557c6899c78622 (patch)
treed8fc73697807f84bca272e1652900f76fa3fe932 /dev-lang/v8/files
parentFix IUSE (diff)
downloadgentoo-2-1ead82d6df6ade922c0b72fce6557c6899c78622.tar.gz
gentoo-2-1ead82d6df6ade922c0b72fce6557c6899c78622.tar.bz2
gentoo-2-1ead82d6df6ade922c0b72fce6557c6899c78622.zip
Initial import, bug #299976 by Luke-Jr <luke-jr+gentoobugs@utopios.org>. Notable suggestions by solar, Priit Laes <plaes@plaes.org> and Johan Bergstroem <bugs@bergstroem.nu>.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-lang/v8/files')
-rw-r--r--dev-lang/v8/files/v8-no-werror-r0.patch19
-rw-r--r--dev-lang/v8/files/v8-upstream-bug-773-r0.patch11
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/v8/files/v8-no-werror-r0.patch b/dev-lang/v8/files/v8-no-werror-r0.patch
new file mode 100644
index 000000000000..5976ff4cd2b3
--- /dev/null
+++ b/dev-lang/v8/files/v8-no-werror-r0.patch
@@ -0,0 +1,19 @@
+--- SConstruct.orig 2010-07-25 01:45:25.000000000 +0200
++++ SConstruct 2010-07-25 01:45:50.000000000 +0200
+@@ -300,7 +300,6 @@
+ 'gcc': {
+ 'all': {
+ 'WARNINGFLAGS': ['-Wall',
+- '-Werror',
+ '-W',
+ '-Wno-unused-parameter',
+ '-Wnon-virtual-dtor']
+@@ -381,7 +380,7 @@
+ DTOA_EXTRA_FLAGS = {
+ 'gcc': {
+ 'all': {
+- 'WARNINGFLAGS': ['-Werror', '-Wno-uninitialized'],
++ 'WARNINGFLAGS': ['-Wno-uninitialized'],
+ 'CCFLAGS': GCC_DTOA_EXTRA_CCFLAGS
+ }
+ },
diff --git a/dev-lang/v8/files/v8-upstream-bug-773-r0.patch b/dev-lang/v8/files/v8-upstream-bug-773-r0.patch
new file mode 100644
index 000000000000..9175f913bb21
--- /dev/null
+++ b/dev-lang/v8/files/v8-upstream-bug-773-r0.patch
@@ -0,0 +1,11 @@
+--- tools/js2c.py.orig 2010-07-25 22:20:45.000000000 +0200
++++ tools/js2c.py 2010-07-25 22:21:00.000000000 +0200
+@@ -112,7 +112,7 @@
+ def ExpandMacros(lines, macros):
+ # We allow macros to depend on the previously declared macros, but
+ # we don't allow self-dependecies or recursion.
+- for name_pattern, macro in reversed(macros):
++ for name_pattern, macro in reversed(list(macros)):
+ pattern_match = name_pattern.search(lines, 0)
+ while pattern_match is not None:
+ # Scan over the arguments