Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/speech-dispatcher/files: speech-dispatcher-0.6.7-glibc-2.10.patch
Date: Fri, 04 Sep 2009 03:46:38
Message-Id: E1MjUZY-0007pJ-Uk@stork.gentoo.org
1 ssuominen 09/09/04 08:55:08
2
3 Added: speech-dispatcher-0.6.7-glibc-2.10.patch
4 Log:
5 Fix building with GLIBC 2.10+ wrt #281130 by Christoph Brill.
6 (Portage version: 2.2_rc40/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch?rev=1.1&content-type=text/plain
13
14 Index: speech-dispatcher-0.6.7-glibc-2.10.patch
15 ===================================================================
16 From f0c490dc160f04cb9f258e0639944cffc1df9a40 Mon Sep 17 00:00:00 2001
17 From: root <root@christoph.(none)>
18 Date: Tue, 11 Aug 2009 20:39:24 +0200
19 Subject: [PATCH] Fix build with recent gcc
20
21 ---
22 src/modules/module_main.c | 3 ---
23 src/modules/module_utils.h | 3 ---
24 2 files changed, 0 insertions(+), 6 deletions(-)
25
26 diff --git a/src/modules/module_main.c b/src/modules/module_main.c
27 index 2732cff..5bb5769 100644
28 --- a/src/modules/module_main.c
29 +++ b/src/modules/module_main.c
30 @@ -21,9 +21,6 @@
31 * $Id: speech-dispatcher-0.6.7-glibc-2.10.patch,v 1.1 2009/09/04 08:55:08 ssuominen Exp $
32 */
33
34 -/* So that gcc doesn't comply */
35 -int getline(char**, size_t*, FILE*);
36 -
37 #define PROCESS_CMD(command, function) \
38 if (!strcmp(cmd_buf, #command"\n")){ \
39 char *msg; \
40 diff --git a/src/modules/module_utils.h b/src/modules/module_utils.h
41 index e33865a..70e6241 100644
42 --- a/src/modules/module_utils.h
43 +++ b/src/modules/module_utils.h
44 @@ -420,9 +420,6 @@ void module_report_event_pause(void);
45
46
47
48 -/* So that gcc doesn't complain */
49 -int getline(char**, size_t*, FILE*);
50 -
51 pthread_mutex_t module_stdout_mutex;
52
53 int module_utils_init(void);
54 --
55 1.6.4