From 1cdf7cd41b9021f53bcecc373d827d8fb0e16196 Mon Sep 17 00:00:00 2001 From: Weiwen Zhao Date: Sun, 10 Feb 2013 10:58:15 +0800 Subject: [PATCH] qtwebkit: fix build issue with gcc 4.7 * Add missing include unistd.h for getpid() * Remove unused variables Open-webOS-DCO-1.0-Signed-off-by: Weiwen Zhao --- qtwebkit/0001-Add-LunaServiceBridge-interface.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/qtwebkit/0001-Add-LunaServiceBridge-interface.patch b/qtwebkit/0001-Add-LunaServiceBridge-interface.patch index 2389771..2c4f588 100644 --- a/qtwebkit/0001-Add-LunaServiceBridge-interface.patch +++ b/qtwebkit/0001-Add-LunaServiceBridge-interface.patch @@ -107,6 +107,7 @@ index 0000000..e763655 +#include +#include +#include ++#include +#include + +namespace WebCore { @@ -366,7 +367,6 @@ index 0000000..e763655 + */ +void LunaServiceManager::cancel(LunaServiceManagerListener* inListener) +{ -+ bool retVal; + LSError lserror; + + if (!inListener || !inListener->listenerToken) @@ -453,7 +453,7 @@ new file mode 100644 index 0000000..838ce50 --- /dev/null +++ b/Source/WebCore/platform/webos/PalmServiceBridge.cpp -@@ -0,0 +1,414 @@ +@@ -0,0 +1,413 @@ + +#include "config.h" +#if ENABLE(PALM_SERVICE_BRIDGE) @@ -696,7 +696,6 @@ index 0000000..838ce50 + +int PalmServiceBridge::call(const String& uri, const String& payload, ExceptionCode& ec) +{ -+ const char* callerId = 0; + bool usePrivateBus = false; + + JSValue identifier; @@ -877,7 +876,7 @@ index 0000000..83f723f +#ifndef PalmServiceBridge_h +#define PalmServiceBridge_h + -+#ifdef ENABLE(PALM_SERVICE_BRIDGE) ++#if ENABLE(PALM_SERVICE_BRIDGE) + +#include "ActiveDOMObject.h" +#include "Event.h"