Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f95ee2951097e9d6d0646f621c37634382fffb05

commit f95ee2951097e9d6d0646f621c37634382fffb05
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date:   Tue Apr 8 21:27:39 2008 +0200

glib2-2.16.3-1-x86_64
* Version bump
* Removed 2 patches (in upstream)

diff --git a/source/base/glib2/FrugalBuild b/source/base/glib2/FrugalBuild
index e48e893..1497aff 100644
--- a/source/base/glib2/FrugalBuild
+++ b/source/base/glib2/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: Christian Hamar alias krix <[EMAIL PROTECTED]>

pkgname=glib2
-pkgver=2.14.6
-pkgrel=2
+pkgver=2.16.3
+pkgrel=1
pkgdesc="Common C routines used by GTK+2 and other libraries"
url="http://www.gtk.org/";
depends=('glibc>=2.7-3')
@@ -14,14 +14,10 @@ options=('scriptlet')
_F_gnome_name="glib"
_F_gnome_devel="n"
Finclude gnome
-source=($source \
-       glib2-bug479724.patch \
-       glib-cast.patch)
+#source=($source)
_F_cd_path="glib-$pkgver"
## DON'T remove nor change the debug level or it breaks again ..
-sha1sums=('f2e2a5323357516ccb813d9e7f3921ef1e490079' \
-          '8aa98ec8c7a8aad90d27e6c81a7fee1c686914fe' \
-          'a78a870e933a317148e11bffdf5d19c8fe4ac2bd')
+sha1sums=('f73fd53130a46f21ff4ee9faa69b9956787c571e')

subpkgs=("$pkgname-docs")
subdescs=("Glib2 Documentation")
diff --git a/source/base/glib2/glib-cast.patch 
b/source/base/glib2/glib-cast.patch
deleted file mode 100644
index 56ececa..0000000
--- a/source/base/glib2/glib-cast.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-Index: glib/gthread.c
-===================================================================
---- glib/gthread.c.orig
-+++ glib/gthread.c
-@@ -200,7 +200,7 @@ g_once_impl (GOnce       *once,
- }
-
- gboolean
--g_once_init_enter_impl (volatile gsize *value_location)
-+g_once_init_enter_impl (volatile gpointer *value_location)
- {
-   gboolean need_init;
-   g_mutex_lock (g_once_mutex);
-@@ -220,8 +220,8 @@ g_once_init_enter_impl (volatile gsize *
- }
-
- void
--g_once_init_leave (volatile gsize *value_location,
--                   gsize           initialization_value)
-+g_once_init_leave (volatile gpointer *value_location,
-+                   gpointer           initialization_value)
- {
-   g_return_if_fail (g_atomic_pointer_get (value_location) == 0);
-   g_return_if_fail (initialization_value != 0);
-Index: glib/gthread.h
-===================================================================
---- glib/gthread.h.orig
-+++ glib/gthread.h
-@@ -324,13 +324,13 @@ gpointer g_once_impl (GOnce *once, GThre
- #endif /* G_ATOMIC_OP_MEMORY_BARRIER_NEEDED */
-
- /* initialize-once guards, keyed by value_location */
--G_INLINE_FUNC gboolean  g_once_init_enter       (volatile gsize 
*value_location);
--gboolean                g_once_init_enter_impl  (volatile gsize 
*value_location);
--void                    g_once_init_leave       (volatile gsize 
*value_location,
--                                                 gsize           
initialization_value);
-+G_INLINE_FUNC gboolean  g_once_init_enter       (volatile gpointer 
*value_location);
-+gboolean                g_once_init_enter_impl  (volatile gpointer 
*value_location);
-+void                    g_once_init_leave       (volatile gpointer 
*value_location,
-+                                                 gpointer           
initialization_value);
- #if defined (G_CAN_INLINE) || defined (__G_THREAD_C__)
- G_INLINE_FUNC gboolean
--g_once_init_enter (volatile gsize *value_location)
-+g_once_init_enter (volatile gpointer *value_location)
- {
-   if G_LIKELY (g_atomic_pointer_get (value_location) !=0)
-     return FALSE;
-Index: gobject/gtype.h
-===================================================================
---- gobject/gtype.h.orig
-+++ gobject/gtype.h
-@@ -368,7 +368,7 @@ static void     type_name##_class_intern
- GType \
- type_name##_get_type (void) \
- { \
--  static volatile gsize g_define_type_id__volatile = 0; \
-+  static volatile gpointer g_define_type_id__volatile = 0; \
-   if (g_once_init_enter (&g_define_type_id__volatile))  \
-     { \
-       GType g_define_type_id = \
-@@ -383,9 +383,9 @@ type_name##_get_type (void) \
- #define _G_DEFINE_TYPE_EXTENDED_END() \
-         /* following custom code */   \
-       }                                       \
--      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
-+      g_once_init_leave (&g_define_type_id__volatile, (gpointer) 
g_define_type_id); \
-     }                                 \
--  return g_define_type_id__volatile;  \
-+  return (GType) g_define_type_id__volatile;  \
- } /* closes type_name##_get_type() */
-
-
-Index: glib/garray.h
-===================================================================
---- glib/garray.h.orig
-+++ glib/garray.h
-@@ -61,7 +61,7 @@ struct _GPtrArray
- #define g_array_append_val(a,v)         g_array_append_vals (a, &(v), 1)
- #define g_array_prepend_val(a,v)  g_array_prepend_vals (a, &(v), 1)
- #define g_array_insert_val(a,i,v) g_array_insert_vals (a, i, &(v), 1)
--#define g_array_index(a,t,i)      (((t*) (a)->data) [(i)])
-+#define g_array_index(a,t,i)      (((t*) ((void *) ((a)->data))) [(i)])
-
- GArray* g_array_new               (gboolean          zero_terminated,
-                                  gboolean          clear_,
diff --git a/source/base/glib2/glib2-bug479724.patch 
b/source/base/glib2/glib2-bug479724.patch
deleted file mode 100644
index cf5ff05..0000000
--- a/source/base/glib2/glib2-bug479724.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Naur glib-2.14.1/glib/gmain.c glib-2.14.1-p/glib/gmain.c
---- glib-2.14.1/glib/gmain.c   2007-09-16 19:32:03.000000000 +0200
-+++ glib-2.14.1-p/glib/gmain.c 2007-09-27 19:29:16.000000000 +0200
-@@ -665,6 +665,11 @@
-   else
-     main_contexts_without_pipe = g_slist_remove (main_contexts_without_pipe,
-                                                context);
-+
-+  if(context->cond != NULL)
-+  {
-+    g_cond_free(context->cond);
-+  }
- #endif
-
-   g_free (context);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to