Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203213 Details for
Bug 281130
app-accessibility/speech-dispatcher fails to build with glibc 2.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
_GNU_SOURCE
speech-dispatcher-0.6.7-getline.patch (text/plain), 1.25 KB, created by
Samuli Suominen (RETIRED)
on 2009-09-05 17:55:38 UTC
(
hide
)
Description:
_GNU_SOURCE
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2009-09-05 17:55:38 UTC
Size:
1.25 KB
patch
obsolete
>diff -ur speech-dispatcher-0.6.7.orig/src/modules/module_main.c speech-dispatcher-0.6.7/src/modules/module_main.c >--- speech-dispatcher-0.6.7.orig/src/modules/module_main.c 2008-06-27 15:29:26.000000000 +0300 >+++ speech-dispatcher-0.6.7/src/modules/module_main.c 2009-09-05 20:53:32.000000000 +0300 >@@ -21,8 +21,9 @@ > * $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $ > */ > >-/* So that gcc doesn't comply */ >-int getline(char**, size_t*, FILE*); >+#ifndef _GNU_SOURCE >+ #define _GNU_SOURCE >+#endif > > #define PROCESS_CMD(command, function) \ > if (!strcmp(cmd_buf, #command"\n")){ \ >diff -ur speech-dispatcher-0.6.7.orig/src/modules/module_utils.h speech-dispatcher-0.6.7/src/modules/module_utils.h >--- speech-dispatcher-0.6.7.orig/src/modules/module_utils.h 2008-07-30 11:53:07.000000000 +0300 >+++ speech-dispatcher-0.6.7/src/modules/module_utils.h 2009-09-05 20:54:41.000000000 +0300 >@@ -46,6 +46,10 @@ > > #include "spd_audio.h" > >+#ifndef _GNU_SOURCE >+ #define _GNU_SOURCE >+#endif >+ > typedef struct{ > char* audio_output_method; > char* audio_oss_device; >@@ -419,10 +423,6 @@ > void module_report_event_pause(void); > > >- >-/* So that gcc doesn't complain */ >-int getline(char**, size_t*, FILE*); >- > pthread_mutex_t module_stdout_mutex; > > int module_utils_init(void);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281130
:
200954
|
203213
|
203368