summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-27 16:22:59 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-27 16:22:59 +0800
commit097e80964691f9df62a13d79e02add59435698be (patch)
treedb9e59cc2ea06f15c2ccf79ca095c748ddf86f05 /accessibility
parent317f688730d9463cb5d2ab3e544db18c2899417b (diff)
downloadmarcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar.gz
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar.bz2
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar.lz
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar.xz
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.tar.zst
marcuscom-ports-097e80964691f9df62a13d79e02add59435698be.zip
- Fix build on 4.x
Submitted by: mjl via irc.freenode.org/#FreeBSD-Gnome git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4123 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnopernicus/files/patch-srcore_srspc.c25
1 files changed, 21 insertions, 4 deletions
diff --git a/accessibility/gnopernicus/files/patch-srcore_srspc.c b/accessibility/gnopernicus/files/patch-srcore_srspc.c
index d6d68bb9b..1fb6906a8 100644
--- a/accessibility/gnopernicus/files/patch-srcore_srspc.c
+++ b/accessibility/gnopernicus/files/patch-srcore_srspc.c
@@ -1,6 +1,6 @@
---- srcore/srspc.c.orig Sun May 8 01:10:29 2005
-+++ srcore/srspc.c Sun May 8 01:10:37 2005
-@@ -1531,8 +1531,8 @@ src_timeout_start_speech (gpointer data)
+--- srcore/srspc.c.orig Mon Jun 27 20:06:42 2005
++++ srcore/srspc.c Mon Jun 27 20:06:49 2005
+@@ -1535,8 +1535,8 @@
static void
src_restart_speech ()
{
@@ -8,5 +8,22 @@
gboolean use_speech = FALSE;
+ g_printerr ("\nRestarting speech.\n");
SET_SRCORE_CONFIG_DATA (SRCORE_SPEECH_ACTIVE, CFGT_BOOL, &use_speech);
- g_timeout_add (SRC_SPEECH_RESTART_TIMEOUT, src_timeout_start_speech, NULL);
+ speech_timeout_id = g_timeout_add (SRC_SPEECH_RESTART_TIMEOUT, src_timeout_start_speech, NULL);
+ }
+@@ -1636,6 +1636,8 @@
+ void
+ src_speech_terminate ()
+ {
++ gboolean use_speech = TRUE;
++
+ sru_assert (src_speech_initialized);
+
+ src_speech_shutup ();
+@@ -1653,7 +1655,6 @@
+ g_ptr_array_add (src_created_voices, NULL);
+ g_strfreev ((gchar**)g_ptr_array_free (src_created_voices, TRUE));
+
+- gboolean use_speech = TRUE;
+ if (speech_timeout_id == 0)
+ SET_SRCORE_CONFIG_DATA (SRCORE_SPEECH_ACTIVE, CFGT_BOOL, &use_speech);
}