/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.8.1-glib-2.25.12-workaround.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.8.1-glib-2.25.12-workaround.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 23 23:17:09 2011 UTC (2 years, 10 months ago) by nirbheek
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Bump for the 0.9.0 release, go forth and test. Also, remove old ebuilds and unused patches.

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

1 From 41804010d622dfb7c90c477076608790840149c7 Mon Sep 17 00:00:00 2001
2 From: Dan Williams <dcbw@redhat.com>
3 Date: Tue, 10 Aug 2010 18:46:18 +0000
4 Subject: build: fix compilation with glib >= 2.25.12
5
6 WOrk around glib API breakage.
7 ---
8 diff --git a/src/tests/test-policy-hosts.c b/src/tests/test-policy-hosts.c
9 index 682c996..e6775f3 100644
10 --- a/src/tests/test-policy-hosts.c
11 +++ b/src/tests/test-policy-hosts.c
12 @@ -671,7 +671,11 @@ test_find_token (void)
13 }
14 }
15
16 +#if GLIB_CHECK_VERSION(2,25,12)
17 +typedef GTestFixtureFunc TCFunc;
18 +#else
19 typedef void (*TCFunc)(void);
20 +#endif
21
22 #define TESTCASE(t, d) g_test_create_case (#t, 0, d, NULL, (TCFunc) t, NULL)
23
24 --

  ViewVC Help
Powered by ViewVC 1.1.20