packages: gtk-webcore-jscore/gtk-webcore-jscore.spec, gtk-webcore-jscore/gc...

sls sls at pld-linux.org
Sat Dec 4 18:20:13 CET 2010


Author: sls                          Date: Sat Dec  4 17:20:13 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added gcc43.patch

---- Files affected:
packages/gtk-webcore-jscore:
   gtk-webcore-jscore.spec (1.4 -> 1.5) , gcc43.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gtk-webcore-jscore/gtk-webcore-jscore.spec
diff -u packages/gtk-webcore-jscore/gtk-webcore-jscore.spec:1.4 packages/gtk-webcore-jscore/gtk-webcore-jscore.spec:1.5
--- packages/gtk-webcore-jscore/gtk-webcore-jscore.spec:1.4	Sat Aug  4 00:13:01 2007
+++ packages/gtk-webcore-jscore/gtk-webcore-jscore.spec	Sat Dec  4 18:20:08 2010
@@ -9,6 +9,7 @@
 Group:		Libraries
 Source0:	%{name}-%{snap}.tar.bz2
 # Source0-md5:	1c87fa5d754e9ce7957c3f52f73301fe
+Patch0:		gcc43.patch
 URL:		http://gtk-webcore.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -77,6 +78,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -121,6 +123,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/12/04 17:20:08  sls
+- added gcc43.patch
+
 Revision 1.4  2007/08/03 22:13:01  qboosh
 - libtool 1.5 for C++ libs
 

================================================================
Index: packages/gtk-webcore-jscore/gcc43.patch
diff -u /dev/null packages/gtk-webcore-jscore/gcc43.patch:1.1
--- /dev/null	Sat Dec  4 18:20:13 2010
+++ packages/gtk-webcore-jscore/gcc43.patch	Sat Dec  4 18:20:08 2010
@@ -0,0 +1,20 @@
+--- gtk-webcore-jscore/kjs/protected_values.cpp.orig	2010-12-04 18:02:30.004753676 +0100
++++ gtk-webcore-jscore/kjs/protected_values.cpp	2010-12-04 18:13:37.194683715 +0100
+@@ -195,7 +195,7 @@ const unsigned PHI = 0x9e3779b9U;
+ 
+ template <int size> static unsigned hash(ValueImp *pointer);
+ 
+-template <> static inline unsigned hash<4>(ValueImp *pointer) 
++template <> inline unsigned hash<4>(ValueImp *pointer) 
+ {
+   int a = (int)(intptr_t)PHI;
+   int b = (int)(intptr_t)pointer;
+@@ -214,7 +214,7 @@ template <> static inline unsigned hash<
+   return (unsigned)c;
+ }
+ 
+-template <> static inline unsigned hash<8>(ValueImp *pointer)
++template <> inline unsigned hash<8>(ValueImp *pointer)
+ {
+   int a = (int)PHI;
+   int b = (int)(intptr_t)pointer;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtk-webcore-jscore/gtk-webcore-jscore.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list