Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-misc/networkmanager/, net-misc/networkmanager/files/
Date: Mon, 28 Feb 2011 07:48:42
Message-Id: 8f065063968ba60c2e4fe5169e7dbed5b9733464.nirbheek@gentoo
1 commit: 8f065063968ba60c2e4fe5169e7dbed5b9733464
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 28 07:32:47 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 28 07:34:48 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=8f065063
7
8 net-misc/networkmanager: patch is no longer needed
9
10 * https://bugzilla.gnome.org/show_bug.cgi?id=643011
11
12 ---
13 .../files/networkmanager-more-gi-annotations.patch | 43 --------------------
14 net-misc/networkmanager/networkmanager-9999.ebuild | 3 -
15 2 files changed, 0 insertions(+), 46 deletions(-)
16
17 diff --git a/net-misc/networkmanager/files/networkmanager-more-gi-annotations.patch b/net-misc/networkmanager/files/networkmanager-more-gi-annotations.patch
18 deleted file mode 100644
19 index e6bac7d..0000000
20 --- a/net-misc/networkmanager/files/networkmanager-more-gi-annotations.patch
21 +++ /dev/null
22 @@ -1,43 +0,0 @@
23 -From a420d59ea24a1eb82a7c1dc96e3cf5b38b0fd757 Mon Sep 17 00:00:00 2001
24 -From: Giovanni Campagna <gcampagna@×××××××××.org>
25 -Date: Tue, 22 Feb 2011 23:34:41 +0100
26 -Subject: [PATCH] libnm-util: another introspection annotation
27 -
28 -nm_utils_ssid_to_utf8 has gchar* in the signature, but it accepts
29 -an array of bytes, not a string. Fix with the appropriate
30 -annotation.
31 -
32 -https://bugzilla.gnome.org/show_bug.cgi?id=643011
33 ----
34 - libnm-util/nm-utils.c | 9 +++++----
35 - 1 files changed, 5 insertions(+), 4 deletions(-)
36 -
37 -diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c
38 -index 87c5d5f..c2134db 100644
39 ---- a/libnm-util/nm-utils.c
40 -+++ b/libnm-util/nm-utils.c
41 -@@ -304,7 +304,8 @@ nm_utils_deinit (void)
42 -
43 - /**
44 - * nm_utils_ssid_to_utf8:
45 -- * @ssid: pointer to a buffer containing the SSID data
46 -+ * @ssid: (array length=len) (element-type guint8): pointer to a buffer
47 -+ * containing the SSID data
48 - * @len: length of the SSID data in @ssid
49 - *
50 - * WiFi SSIDs are byte arrays, they are _not_ strings. Thus, an SSID may
51 -@@ -330,9 +331,9 @@ nm_utils_deinit (void)
52 - * Again, this function should be used for debugging and display purposes
53 - * _only_.
54 - *
55 -- * Returns: an allocated string containing a UTF-8 representation of the
56 -- * SSID, which must be freed by the caller using g_free(). Returns NULL
57 -- * on errors.
58 -+ * Returns: (transfer full): an allocated string containing a UTF-8 representation
59 -+ * of the SSID, which must be freed by the caller using g_free(). Returns
60 -+ * NULL on errors.
61 - **/
62 - char *
63 - nm_utils_ssid_to_utf8 (const char *ssid, guint32 len)
64 ---
65 -1.7.4
66 \ No newline at end of file
67
68 diff --git a/net-misc/networkmanager/networkmanager-9999.ebuild b/net-misc/networkmanager/networkmanager-9999.ebuild
69 index a058ad6..0cf3ed6 100644
70 --- a/net-misc/networkmanager/networkmanager-9999.ebuild
71 +++ b/net-misc/networkmanager/networkmanager-9999.ebuild
72 @@ -134,9 +134,6 @@ src_prepare() {
73 # FIXME: does not apply
74 #epatch "${FILESDIR}/${PN}-0.8.2-shared-connection.patch"
75
76 - # https://bugzilla.gnome.org/show_bug.cgi?id=643011
77 - epatch "${FILESDIR}/${PN}-more-gi-annotations.patch"
78 -
79 gnome2_src_prepare
80 }