From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/glib/files: glib-2.30.2-missing-decls.patch |
Date: | Tue, 10 Jan 2012 21:25:16 |
Message-Id: | 20120110212505.1DF2B2004C@flycatcher.gentoo.org |
1 | vapier 12/01/10 21:25:05 |
2 | |
3 | Added: glib-2.30.2-missing-decls.patch |
4 | Log: |
5 | Add fix from upstream for building with C++ compilers. |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/glib/files/glib-2.30.2-missing-decls.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.30.2-missing-decls.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/files/glib-2.30.2-missing-decls.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: glib-2.30.2-missing-decls.patch |
16 | =================================================================== |
17 | Fix from upstream for building with C++ compilers: |
18 | https://bugzilla.gnome.org/show_bug.cgi?id=663880 |
19 | |
20 | From 5d9f05eef147f17d71e38c9fba2e3f622c9ed21b Mon Sep 17 00:00:00 2001 |
21 | From: Matthias Clasen <mclasen@××××××.com> |
22 | Date: Sat, 12 Nov 2011 10:26:31 -0500 |
23 | Subject: [PATCH] glib-unix.h: Add G_BEGIN/END_DECLS |
24 | |
25 | The omission was pointed out in bug 663880. |
26 | --- |
27 | glib/glib-unix.h | 6 +++++- |
28 | 1 files changed, 5 insertions(+), 1 deletions(-) |
29 | |
30 | diff --git a/glib/glib-unix.h b/glib/glib-unix.h |
31 | index 9642b5c..7be37f0 100644 |
32 | --- a/glib/glib-unix.h |
33 | +++ b/glib/glib-unix.h |
34 | @@ -38,6 +38,8 @@ |
35 | #error "This header may only be used on UNIX" |
36 | #endif |
37 | |
38 | +G_BEGIN_DECLS |
39 | + |
40 | /** |
41 | * G_UNIX_ERROR: |
42 | * |
43 | @@ -77,4 +79,6 @@ guint g_unix_signal_add (gint signum, |
44 | GSourceFunc handler, |
45 | gpointer user_data); |
46 | |
47 | -#endif |
48 | +G_END_DECLS |
49 | + |
50 | +#endif /* __G_UNIX_H__ */ |
51 | -- |
52 | 1.7.7.1 |