summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-06 19:32:09 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-06 19:32:09 +0800
commit330d744b65d1c393506085fa2f0287bfcf9d7843 (patch)
tree012ba271161f439406cb6c685e82b48309ceaad4
parent684590888311a1288bbf42a7b6b18277973583db (diff)
downloadmarcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar.gz
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar.bz2
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar.lz
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar.xz
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.tar.zst
marcuscom-ports-330d744b65d1c393506085fa2f0287bfcf9d7843.zip
Fix the build of www/webkit-gtk3 with clang3.4 in base. When compiler was updated
OSVERSION was updated to 1100009. If the patch breaks previous versions or with gcc OSVERSION and cc=="clang" may be used to apply the patch on if clang 3.4 in base is used. Revieweb by: kwm git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19011 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/webkit-gtk3/Makefile2
-rw-r--r--www/webkit-gtk3/files/patch-Source_JavaScriptCore_runtime_JSCell.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile
index a2d08d7f9..3ef407863 100644
--- a/www/webkit-gtk3/Makefile
+++ b/www/webkit-gtk3/Makefile
@@ -1,6 +1,6 @@
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/www/webkit-gtk3/Makefile 18629 2013-07-19 20:42:52Z kwm $
+# $MCom$
PORTNAME= webkit
PORTVERSION= 2.0.3
diff --git a/www/webkit-gtk3/files/patch-Source_JavaScriptCore_runtime_JSCell.h b/www/webkit-gtk3/files/patch-Source_JavaScriptCore_runtime_JSCell.h
new file mode 100644
index 000000000..40e8cbf58
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-Source_JavaScriptCore_runtime_JSCell.h
@@ -0,0 +1,12 @@
+--- Source/JavaScriptCore/runtime/JSCell.h.orig 2014-03-06 00:47:38.620499335 +0000
++++ Source/JavaScriptCore/runtime/JSCell.h 2014-03-06 00:48:03.250498156 +0000
+@@ -49,6 +49,9 @@
+ IncludeDontEnumProperties
+ };
+
++template<typename T> void* allocateCell(Heap&);
++template<typename T> void* allocateCell(Heap&, size_t);
++
+ class JSCell {
+ friend class JSValue;
+ friend class MarkedBlock;