pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk Fix build with Clang using upstream patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51a1b84bc7b4
branches:  trunk
changeset: 602748:51a1b84bc7b4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 19 21:08:04 2012 +0000

description:
Fix build with Clang using upstream patch.

diffstat:

 www/webkit-gtk/distinfo                                                   |   3 +-
 www/webkit-gtk/patches/patch-Source_WebCore_plugins_gtk_PluginViewGtk.cpp |  22 ++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r cf7906ecefde -r 51a1b84bc7b4 www/webkit-gtk/distinfo
--- a/www/webkit-gtk/distinfo   Thu Apr 19 21:07:03 2012 +0000
+++ b/www/webkit-gtk/distinfo   Thu Apr 19 21:08:04 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2012/02/20 14:34:33 hans Exp $
+$NetBSD: distinfo,v 1.47 2012/04/19 21:08:04 joerg Exp $
 
 SHA1 (webkit-1.6.3.tar.xz) = 7df69608ef2ce9dd7328353b4ee34f69271cd43b
 RMD160 (webkit-1.6.3.tar.xz) = cc319ffe4c2810663ae05b90e69d9495f5c3f0aa
@@ -7,6 +7,7 @@
 SHA1 (patch-Source_JavaScriptCore_jit_JITStubs.cpp) = 87ff59a80fb8bc436ee0b7093b4e26dc515de984
 SHA1 (patch-Source_JavaScriptCore_wtf_MathExtras.h) = 17295aa1eacf1e5847e460bc99e70118f2f3f13b
 SHA1 (patch-Source_JavaScriptCore_wtf_Threading.h) = f056b8f08c68d44e1b9dfd2bcf60cb788b05f38f
+SHA1 (patch-Source_WebCore_plugins_gtk_PluginViewGtk.cpp) = df947af4c58e455c3adcbcb9ea27cab4d36f236c
 SHA1 (patch-ag) = 220a9925ba1eb4288d334997fda24f41595de1c8
 SHA1 (patch-ah) = de2e719f67534bf64fb5968b457888e9bd824a3d
 SHA1 (patch-ai) = 8998dbb783922a866dcd00e14f33086d7edecdef
diff -r cf7906ecefde -r 51a1b84bc7b4 www/webkit-gtk/patches/patch-Source_WebCore_plugins_gtk_PluginViewGtk.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-Source_WebCore_plugins_gtk_PluginViewGtk.cpp Thu Apr 19 21:08:04 2012 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-Source_WebCore_plugins_gtk_PluginViewGtk.cpp,v 1.1 2012/04/19 21:08:04 joerg Exp $
+
+- Changeset 97591: Fix clang build
+
+--- Source/WebCore/plugins/gtk/PluginViewGtk.cpp.orig  2012-01-31 01:20:09.000000000 +0000
++++ Source/WebCore/plugins/gtk/PluginViewGtk.cpp
+@@ -71,6 +71,7 @@
+ #include <gtk/gtk.h>
+ 
+ #if defined(XP_UNIX)
++#define String XtStringType
+ #include "RefPtrCairo.h"
+ #include "gtk2xtbin.h"
+ #define Bool int // this got undefined somewhere
+@@ -81,6 +82,7 @@
+ #elif defined(GDK_WINDOWING_WIN32)
+ #include "PluginMessageThrottlerWin.h"
+ #include <gdk/gdkwin32.h>
++#undef String
+ #endif
+ 
+ using JSC::ExecState;



Home | Main Index | Thread Index | Old Index