fix build gcc-4.7 issue
This commit is contained in:
parent
23b0fc519f
commit
862814ac15
@ -32,6 +32,9 @@ Patch6: qtwebkit-2.2.x-glib231-wk#69840.patch
|
|||||||
# gcc doesn't support flag -fuse-ld=gold
|
# gcc doesn't support flag -fuse-ld=gold
|
||||||
Patch7: webkit-qtwebkit-ld.gold.patch
|
Patch7: webkit-qtwebkit-ld.gold.patch
|
||||||
|
|
||||||
|
# fix build gcc-4.7 issue
|
||||||
|
Patch8: webkit-qtwebkit-gcc-4.7.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
11
webkit-qtwebkit-gcc-4.7.patch
Normal file
11
webkit-qtwebkit-gcc-4.7.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up webkit-qtwebkit/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp.me webkit-qtwebkit/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp
|
||||||
|
--- webkit-qtwebkit/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp.me 2012-01-24 15:26:33.000000000 +0100
|
||||||
|
+++ webkit-qtwebkit/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp 2012-01-24 15:27:01.000000000 +0100
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
#include "PluginObject.h"
|
||||||
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
extern NPNetscapeFuncs *browser;
|
Loading…
Reference in New Issue
Block a user