Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/glib/files: glib-2.26.1-gdatetime-test.patch glib-2.26.1-gatomic-header.patch
Date: Mon, 24 Jan 2011 13:55:27
Message-Id: 20110124135517.9D0FC20057@flycatcher.gentoo.org
1 pacho 11/01/24 13:55:17
2
3 Added: glib-2.26.1-gdatetime-test.patch
4 glib-2.26.1-gatomic-header.patch
5 Log:
6 Add openbsd patch to fix build on several arches (bug #351387 by Alan Hourihane and Raúl Porcel) once I confirmed it doesn't cause any test failure regression. Remove test that seems to fail depending on time of day as done by upstream (was causing one of the failures in bug #352451) and unset GSETTINGS_BACKEND (bug #352451) until upstream takes care (upstream bug #640412).
7
8 (Portage version: 2.1.9.35/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 dev-libs/glib/files/glib-2.26.1-gdatetime-test.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.26.1-gdatetime-test.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.26.1-gdatetime-test.patch?rev=1.1&content-type=text/plain
15
16 Index: glib-2.26.1-gdatetime-test.patch
17 ===================================================================
18 From 3f059a6a123dd62257f224b9af7701078783060e Mon Sep 17 00:00:00 2001
19 From: Matthias Clasen <mclasen@××××××.com>
20 Date: Sat, 22 Jan 2011 04:41:12 +0000
21 Subject: Remove a test that seems to fail depending on time of day
22
23 ---
24 diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
25 index 01f08de..619bb02 100644
26 --- a/glib/tests/gdatetime.c
27 +++ b/glib/tests/gdatetime.c
28 @@ -804,7 +804,7 @@ GDateTime *__dt = g_date_time_new_local (2009, 10, 24, 0, 0, 0);\
29 TEST_PRINTF_TIME (13, 13, 13, "%r", "01:13:13 PM");
30 TEST_PRINTF ("%R", "00:00");
31 TEST_PRINTF_TIME (13, 13, 31, "%R", "13:13");
32 - TEST_PRINTF ("%s", t_str);
33 + //TEST_PRINTF ("%s", t_str);
34 TEST_PRINTF ("%S", "00");
35 TEST_PRINTF ("%t", " ");
36 TEST_PRINTF ("%W", "42");
37 --
38 cgit v0.8.3.1
39
40
41
42 1.1 dev-libs/glib/files/glib-2.26.1-gatomic-header.patch
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.26.1-gatomic-header.patch?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.26.1-gatomic-header.patch?rev=1.1&content-type=text/plain
46
47 Index: glib-2.26.1-gatomic-header.patch
48 ===================================================================
49 $OpenBSD: patch-glib_gatomic_c,v 1.1 2010/10/10 10:52:04 kili Exp $
50 --- glib/gatomic.c.orig Thu Sep 23 17:26:45 2010
51 +++ glib/gatomic.c Sun Oct 10 11:50:01 2010
52 @@ -28,6 +28,7 @@
53 #endif
54
55 #include "gatomic.h"
56 +#include "gthread.h"
57 #include "gthreadprivate.h"
58
59 /**