diff options
author | marcus <marcus@FreeBSD.org> | 2004-11-13 02:14:08 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-11-13 02:14:08 +0800 |
commit | 1d3ed86911d9e5da3ff4f5289a39784a600ac2b7 (patch) | |
tree | ba6dd9a034e0c15cbee46e768ae3135682239aad /accessibility | |
parent | 88672e27e13f6dc955b8538126340ad6a9f92479 (diff) | |
download | freebsd-ports-gnome-1d3ed86911d9e5da3ff4f5289a39784a600ac2b7.tar.gz freebsd-ports-gnome-1d3ed86911d9e5da3ff4f5289a39784a600ac2b7.tar.zst freebsd-ports-gnome-1d3ed86911d9e5da3ff4f5289a39784a600ac2b7.zip |
Fix a crash in dasher if there are no speech voices.
Reported by: Fernan Aguero <fernan@iib.unsam.edu.ar>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/dasher/Makefile | 2 | ||||
-rw-r--r-- | accessibility/dasher/files/patch-Src_Gtk2_speech.cc | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile index 43cc4b23de35..c3a0f72b82e1 100644 --- a/accessibility/dasher/Makefile +++ b/accessibility/dasher/Makefile @@ -7,7 +7,7 @@ PORTNAME= dasher PORTVERSION= 3.2.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= accessibility editors x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/3.2 diff --git a/accessibility/dasher/files/patch-Src_Gtk2_speech.cc b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc new file mode 100644 index 000000000000..e3ab155cbb88 --- /dev/null +++ b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc @@ -0,0 +1,11 @@ +--- Src/Gtk2/speech.cc.orig Fri Nov 12 13:11:45 2004 ++++ Src/Gtk2/speech.cc Fri Nov 12 13:11:59 2004 +@@ -46,7 +46,7 @@ + + voices = GNOME_Speech_SynthesisDriver_getAllVoices (rv, &ev); + +- if (voices==NULL || BONOBO_EX (&ev)) { ++ if (voices==NULL || voices->_buffer==NULL || BONOBO_EX (&ev)) { + printf(_("Unable to initialize voices")); + speaker=NULL; + return; |