Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203368 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]
Use autotools to check if getline is present or not.
speech-dispatcher-0.6.7-getline.patch (text/plain), 1.61 KB, created by
Samuli Suominen (RETIRED)
on 2009-09-07 15:47:13 UTC
(
hide
)
Description:
Use autotools to check if getline is present or not.
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2009-09-07 15:47:13 UTC
Size:
1.61 KB
patch
obsolete
>diff -ur speech-dispatcher-0.6.7.orig/configure.in speech-dispatcher-0.6.7/configure.in >--- speech-dispatcher-0.6.7.orig/configure.in 2008-07-30 16:27:54.000000000 +0300 >+++ speech-dispatcher-0.6.7/configure.in 2009-09-07 18:43:10.000000000 +0300 >@@ -25,6 +25,9 @@ > AC_PROG_GCC_TRADITIONAL > AC_CHECK_FUNCS(select socket) > >+AC_GNU_SOURCE >+AC_CHECK_FUNCS([getline]) >+ > AC_PROG_INSTALL > AC_PROG_MAKE_SET > >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-07 18:45:54.000000000 +0300 >@@ -21,8 +21,12 @@ > * $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $ > */ > >+#include "config.h" >+ >+#ifndef HAVE_GETLINE > /* So that gcc doesn't comply */ > int getline(char**, size_t*, FILE*); >+#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-07 18:46:18.000000000 +0300 >@@ -45,6 +45,7 @@ > #include <sys/sem.h> > > #include "spd_audio.h" >+#include "config.h" > > typedef struct{ > char* audio_output_method; >@@ -419,9 +420,10 @@ > void module_report_event_pause(void); > > >- >+#ifndef HAVE_GETLINE > /* So that gcc doesn't complain */ > int getline(char**, size_t*, FILE*); >+#endif > > pthread_mutex_t module_stdout_mutex; >
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