summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-01-06 10:11:17 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-01-06 10:11:17 +0000
commitd26bdb6add04be524933d35ced2bf20a27a9f2d7 (patch)
treeeb9f36f9400004a4d8dc3eaeb3210d2fe4a8ec7c /dev-lang/v8/files
parentUse the proper virtual dep instead (diff)
downloadgentoo-2-d26bdb6add04be524933d35ced2bf20a27a9f2d7.tar.gz
gentoo-2-d26bdb6add04be524933d35ced2bf20a27a9f2d7.tar.bz2
gentoo-2-d26bdb6add04be524933d35ced2bf20a27a9f2d7.zip
Backport an upstream patch that is needed to fix bug #348609 reported by redneb <redneb@gmx.com>.
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'dev-lang/v8/files')
-rw-r--r--dev-lang/v8/files/v8-upstream-bug-1016-r0.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/v8/files/v8-upstream-bug-1016-r0.patch b/dev-lang/v8/files/v8-upstream-bug-1016-r0.patch
new file mode 100644
index 000000000000..99a3a62a142d
--- /dev/null
+++ b/dev-lang/v8/files/v8-upstream-bug-1016-r0.patch
@@ -0,0 +1,30 @@
+--- include/v8.h.orig 2011-01-06 10:31:51.000000000 +0100
++++ include/v8.h 2011-01-06 10:33:16.000000000 +0100
+@@ -1631,9 +1631,9 @@
+ * the backing store is preserved while V8 has a reference.
+ */
+ V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length);
+- bool HasIndexedPropertiesInPixelData();
+- uint8_t* GetIndexedPropertiesPixelData();
+- int GetIndexedPropertiesPixelDataLength();
++ V8EXPORT bool HasIndexedPropertiesInPixelData();
++ V8EXPORT uint8_t* GetIndexedPropertiesPixelData();
++ V8EXPORT int GetIndexedPropertiesPixelDataLength();
+
+ /**
+ * Set the backing store of the indexed properties to be managed by the
+@@ -1646,10 +1646,10 @@
+ void* data,
+ ExternalArrayType array_type,
+ int number_of_elements);
+- bool HasIndexedPropertiesInExternalArrayData();
+- void* GetIndexedPropertiesExternalArrayData();
+- ExternalArrayType GetIndexedPropertiesExternalArrayDataType();
+- int GetIndexedPropertiesExternalArrayDataLength();
++ V8EXPORT bool HasIndexedPropertiesInExternalArrayData();
++ V8EXPORT void* GetIndexedPropertiesExternalArrayData();
++ V8EXPORT ExternalArrayType GetIndexedPropertiesExternalArrayDataType();
++ V8EXPORT int GetIndexedPropertiesExternalArrayDataLength();
+
+ V8EXPORT static Local<Object> New();
+ static inline Object* Cast(Value* obj);