r12106 - in /desktop/experimental/glib2.0/debian: changelog patches/90_from_svn_fix_missing_pointer_casting.patch patches/series

seb128 at users.alioth.debian.org seb128 at users.alioth.debian.org
Fri Jul 27 14:15:36 UTC 2007


Author: seb128
Date: Fri Jul 27 14:15:36 2007
New Revision: 12106

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12106
Log:
  * debian/patches/90_from_svn_fix_missing_pointer_casting.patch:
    - patch from SVN, "fixed missing pointer casts when using atomic ops."
      (Closes: #434853)

Added:
    desktop/experimental/glib2.0/debian/patches/90_from_svn_fix_missing_pointer_casting.patch
Modified:
    desktop/experimental/glib2.0/debian/changelog
    desktop/experimental/glib2.0/debian/patches/series

Modified: desktop/experimental/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/changelog?rev=12106&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/changelog (original)
+++ desktop/experimental/glib2.0/debian/changelog Fri Jul 27 14:15:36 2007
@@ -1,3 +1,11 @@
+glib2.0 (2.13.7-3) experimental; urgency=low
+
+  * debian/patches/90_from_svn_fix_missing_pointer_casting.patch:
+    - patch from SVN, "fixed missing pointer casts when using atomic ops."
+      (Closes: #434853)
+
+ -- Sebastien Bacher <seb128 at debian.org>  Fri, 27 Jul 2007 16:14:13 +0200
+
 glib2.0 (2.13.7-2) experimental; urgency=low
 
   * Bump shlibs to 2.13.7.

Added: desktop/experimental/glib2.0/debian/patches/90_from_svn_fix_missing_pointer_casting.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/90_from_svn_fix_missing_pointer_casting.patch?rev=12106&op=file
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/90_from_svn_fix_missing_pointer_casting.patch (added)
+++ desktop/experimental/glib2.0/debian/patches/90_from_svn_fix_missing_pointer_casting.patch Fri Jul 27 14:15:36 2007
@@ -1,0 +1,36 @@
+--- trunk/glib/gthread.c	2007/07/12 17:55:02	5636
++++ trunk/glib/gthread.c	2007/07/12 23:03:06	5638
+@@ -223,11 +223,11 @@
+ g_once_init_leave (volatile gsize *value_location,
+                    gsize           initialization_value)
+ {
+-  g_return_if_fail (g_atomic_pointer_get (value_location) == 0);
++  g_return_if_fail (g_atomic_pointer_get ((void**) value_location) == 0);
+   g_return_if_fail (initialization_value != 0);
+   g_return_if_fail (g_once_init_list != NULL);
+ 
+-  g_atomic_pointer_set (value_location, initialization_value);
++  g_atomic_pointer_set ((void**) value_location, (void*) initialization_value);
+   g_mutex_lock (g_once_mutex);
+   g_once_init_list = g_slist_remove (g_once_init_list, (void*) value_location);
+   g_cond_broadcast (g_once_cond);
+@@ -255,7 +255,7 @@
+   g_mutex_lock (g_once_mutex);
+ 
+   if (!(*mutex))
+-    g_atomic_pointer_set (mutex, g_mutex_new());
++    g_atomic_pointer_set ((void**) mutex, g_mutex_new());
+ 
+   g_mutex_unlock (g_once_mutex);
+ 
+--- trunk/glib/gthread.h	2007/07/12 17:55:02	5636
++++ trunk/glib/gthread.h	2007/07/12 23:03:06	5638
+@@ -332,7 +332,7 @@
+ G_INLINE_FUNC gboolean
+ g_once_init_enter (volatile gsize *value_location)
+ {
+-  if G_LIKELY (g_atomic_pointer_get (value_location) !=0)
++  if G_LIKELY (g_atomic_pointer_get ((void**) value_location) !=0)
+     return FALSE;
+   else
+     return g_once_init_enter_impl (value_location);

Modified: desktop/experimental/glib2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/series?rev=12106&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/series (original)
+++ desktop/experimental/glib2.0/debian/patches/series Fri Jul 27 14:15:36 2007
@@ -1,3 +1,4 @@
 #01_gettext_desktopfiles.patch
 60_wait-longer-for-threads-to-die.patch
 67_gcc43-inline.patch
+90_from_svn_fix_missing_pointer_casting.patch




More information about the pkg-gnome-commits mailing list