r35470 - in /desktop/experimental/glib2.0/debian: changelog patches/09_valuetransform_ulong_bool.patch patches/series

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Wed Jun 27 09:03:25 UTC 2012


Author: mpitt
Date: Wed Jun 27 09:03:24 2012
New Revision: 35470

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35470
Log:
Add 09_valuetransform_ulong_bool.patch: valuetransform: Fix definition of
ulong_bool. Thanks Phillip Kern! (Closes: #662057)

Added:
    desktop/experimental/glib2.0/debian/patches/09_valuetransform_ulong_bool.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=35470&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/changelog [utf-8] (original)
+++ desktop/experimental/glib2.0/debian/changelog [utf-8] Wed Jun 27 09:03:24 2012
@@ -8,6 +8,8 @@
   * Add 08_contenttype_known_test_failure.patch: Disable known test failure
     due to a bug in g_content_type_from_mime_type(). For details, see
     https://bugzilla.gnome.org/show_bug.cgi?id=678941
+  * Add 09_valuetransform_ulong_bool.patch: valuetransform: Fix definition of
+    ulong_bool. Thanks Phillip Kern! (Closes: #662057)
 
  -- Martin Pitt <mpitt at debian.org>  Wed, 27 Jun 2012 10:37:07 +0200
 

Added: desktop/experimental/glib2.0/debian/patches/09_valuetransform_ulong_bool.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/09_valuetransform_ulong_bool.patch?rev=35470&op=file
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/09_valuetransform_ulong_bool.patch (added)
+++ desktop/experimental/glib2.0/debian/patches/09_valuetransform_ulong_bool.patch [utf-8] Wed Jun 27 09:03:24 2012
@@ -1,0 +1,30 @@
+From 240ef2b9e830f2aa92356368902bec813f3c1ef8 Mon Sep 17 00:00:00 2001
+From: Philipp Kern <pkern at debian.org>
+Date: Wed, 27 Jun 2012 10:57:50 +0200
+Subject: [PATCH] valuetransform: Fix definition of ulong_bool
+
+On big endian 64 bit machines such as s390x, an uint is too small to hold a
+ulong_bool; it needs to be an actual ulong.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=678949
+http://bugs.debian.org/662057
+---
+ gobject/gvaluetransform.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gobject/gvaluetransform.c b/gobject/gvaluetransform.c
+index a785817..054250c 100644
+--- a/gobject/gvaluetransform.c
++++ b/gobject/gvaluetransform.c
+@@ -140,7 +140,7 @@ value_transform_##func_name (const GValue *src_value,                       \
+ DEFINE_BOOL_CHECK (int_bool,    v_int);
+ DEFINE_BOOL_CHECK (uint_bool,   v_uint);
+ DEFINE_BOOL_CHECK (long_bool,   v_long);
+-DEFINE_BOOL_CHECK (ulong_bool,  v_uint);
++DEFINE_BOOL_CHECK (ulong_bool,  v_ulong);
+ DEFINE_BOOL_CHECK (int64_bool,  v_int64);
+ DEFINE_BOOL_CHECK (uint64_bool, v_uint64);
+ 
+-- 
+1.7.10.4
+

Modified: desktop/experimental/glib2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/series?rev=35470&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/series [utf-8] (original)
+++ desktop/experimental/glib2.0/debian/patches/series [utf-8] Wed Jun 27 09:03:24 2012
@@ -6,6 +6,7 @@
 06_thread_test_ignore_prctl_fail.patch
 07_contenttype_test_fix_overflow.patch
 08_contenttype_known_test_failure.patch
+09_valuetransform_ulong_bool.patch
 61_glib-compile-binaries-path.patch
 90_gio-modules-multiarch-compat.patch
 91_revert_schema_path_warning.patch




More information about the pkg-gnome-commits mailing list