pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk Resolve "error: 'yield' was not declare...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69cc77472494
branches:  trunk
changeset: 610802:69cc77472494
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Nov 07 12:21:46 2012 +0000

description:
Resolve "error: 'yield' was not declared in this scope".  Fixes build
on Solaris.

diffstat:

 www/webkit-gtk/distinfo                                                     |   3 +-
 www/webkit-gtk/patches/patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 8f10adc2c94a -r 69cc77472494 www/webkit-gtk/distinfo
--- a/www/webkit-gtk/distinfo   Wed Nov 07 11:33:33 2012 +0000
+++ b/www/webkit-gtk/distinfo   Wed Nov 07 12:21:46 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2012/10/30 12:46:30 drochner Exp $
+$NetBSD: distinfo,v 1.56 2012/11/07 12:21:46 jperkin Exp $
 
 SHA1 (webkitgtk-1.10.1.tar.xz) = 3a2df2eb42ffdd7f3b39873d5461c347a6330493
 RMD160 (webkitgtk-1.10.1.tar.xz) = ea246d29a1def4993d592d8464b527b2c9ed1bdc
@@ -6,6 +6,7 @@
 SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = c5e1efdac5f6e2a4c035b6a3ce808d0e7a076703
 SHA1 (patch-Source_JavaScriptCore_wtf_Threading.h) = f166335d829aba9051c1aaf1b950ec655deef372
 SHA1 (patch-Source_WebCore_editing_Editor.h) = 43562577dd6432a86fd8ee0a1e7bb0db31f07d2d
+SHA1 (patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp) = 0f33b188b242166584d5725060c5c430a819be61
 SHA1 (patch-ai) = 8df303ffde5c4398e56601c524e9ab4aff52096c
 SHA1 (patch-aj) = 930d1b5d73028b2f2e5abb33c15f72befadc64ce
 SHA1 (patch-ak) = 64ad843164f1c12968e933080e0966a9019abfdf
diff -r 8f10adc2c94a -r 69cc77472494 www/webkit-gtk/patches/patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp       Wed Nov 07 12:21:46 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp,v 1.1 2012/11/07 12:21:46 jperkin Exp $
+
+Fix "error: 'yield' was not declared in this scope"
+
+--- Source/WebCore/platform/sql/SQLiteDatabase.cpp.orig        Wed Nov  7 07:59:38 2012
++++ Source/WebCore/platform/sql/SQLiteDatabase.cpp     Wed Nov  7 07:59:58 2012
+@@ -125,7 +125,7 @@
+         if (!m_db)
+             return;
+         sqlite3_interrupt(m_db);
+-        yield();
++        WTF::yield();
+     }
+ 
+     m_lockingMutex.unlock();



Home | Main Index | Thread Index | Old Index