rpms/webkitgtk/F-11 webkit-1.1.8-atomic-word.patch,1.1,1.2

Dennis Gilmore ausil at fedoraproject.org
Sat Jun 13 19:55:02 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/webkitgtk/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19634

Modified Files:
	webkit-1.1.8-atomic-word.patch 
Log Message:
update patch for stupidness


webkit-1.1.8-atomic-word.patch:

Index: webkit-1.1.8-atomic-word.patch
===================================================================
RCS file: /cvs/pkgs/rpms/webkitgtk/F-11/webkit-1.1.8-atomic-word.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- webkit-1.1.8-atomic-word.patch	13 Jun 2009 16:48:58 -0000	1.1
+++ webkit-1.1.8-atomic-word.patch	13 Jun 2009 19:55:02 -0000	1.2
@@ -23,7 +23,7 @@ diff -uNr webkit-1.1.8-orig/JavaScriptCo
     We can not determine the endianess at compile time. For
 diff -uNr webkit-1.1.8-orig/JavaScriptCore/wtf/Threading.h webkit-1.1.8/JavaScriptCore/wtf/Threading.h
 --- webkit-1.1.8-orig/JavaScriptCore/wtf/Threading.h	2009-05-14 10:25:19.000000000 -0500
-+++ webkit-1.1.8/JavaScriptCore/wtf/Threading.h	2009-06-13 11:42:52.000000000 -0500
++++ webkit-1.1.8/JavaScriptCore/wtf/Threading.h	2009-06-13 12:59:06.000000000 -0500
 @@ -207,14 +207,14 @@
  #elif COMPILER(GCC)
  #define WTF_USE_LOCKFREE_THREADSAFESHARED 1
@@ -42,7 +42,7 @@ diff -uNr webkit-1.1.8-orig/JavaScriptCo
          : m_refCount(initialRefCount)
      {
      }
-@@ -234,23 +234,23 @@
+@@ -234,12 +234,12 @@
          return refCount() == 1;
      }
  
@@ -57,19 +57,6 @@ diff -uNr webkit-1.1.8-orig/JavaScriptCo
      }
  
  protected:
--    // Returns whether the pointer should be freed or not.
-+x s    // Returns whether the pointer should be freed or not.
-     bool derefBase()
-     {
- #if USE(LOCKFREE_THREADSAFESHARED)
-         if (atomicDecrement(&m_refCount) <= 0)
-             return true;
- #else
--        int refCount;
-+        _Atomic_word refCount;
-         {
-             MutexLocker locker(m_mutex);
-             --m_refCount;
 @@ -266,7 +266,7 @@
      template<class T>
      friend class CrossThreadRefCounted;




More information about the fedora-extras-commits mailing list