diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-09-04 08:55:08 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-09-04 08:55:08 +0000 |
commit | 2988103ab04c96231fcc74042617b63e048c236a (patch) | |
tree | 67e190b957b67ae4cc86d9197cf629e12c0b583d /app-accessibility/speech-dispatcher/files | |
parent | Unmask latest version of x11-themes/baghira since it's fixed. Removed stripcl... (diff) | |
download | gentoo-2-2988103ab04c96231fcc74042617b63e048c236a.tar.gz gentoo-2-2988103ab04c96231fcc74042617b63e048c236a.tar.bz2 gentoo-2-2988103ab04c96231fcc74042617b63e048c236a.zip |
Fix building with GLIBC 2.10+ wrt #281130 by Christoph Brill.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'app-accessibility/speech-dispatcher/files')
-rw-r--r-- | app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch new file mode 100644 index 000000000000..3f3473452d73 --- /dev/null +++ b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.6.7-glibc-2.10.patch @@ -0,0 +1,41 @@ +From f0c490dc160f04cb9f258e0639944cffc1df9a40 Mon Sep 17 00:00:00 2001 +From: root <root@christoph.(none)> +Date: Tue, 11 Aug 2009 20:39:24 +0200 +Subject: [PATCH] Fix build with recent gcc + +--- + src/modules/module_main.c | 3 --- + src/modules/module_utils.h | 3 --- + 2 files changed, 0 insertions(+), 6 deletions(-) + +diff --git a/src/modules/module_main.c b/src/modules/module_main.c +index 2732cff..5bb5769 100644 +--- a/src/modules/module_main.c ++++ b/src/modules/module_main.c +@@ -21,9 +21,6 @@ + * $Id: speech-dispatcher-0.6.7-glibc-2.10.patch,v 1.1 2009/09/04 08:55:08 ssuominen Exp $ + */ + +-/* So that gcc doesn't comply */ +-int getline(char**, size_t*, FILE*); +- + #define PROCESS_CMD(command, function) \ + if (!strcmp(cmd_buf, #command"\n")){ \ + char *msg; \ +diff --git a/src/modules/module_utils.h b/src/modules/module_utils.h +index e33865a..70e6241 100644 +--- a/src/modules/module_utils.h ++++ b/src/modules/module_utils.h +@@ -420,9 +420,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); +-- +1.6.4 + |