mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Fix a crash in dasher if there are no speech voices.
Reported by: Fernan Aguero <fernan@iib.unsam.edu.ar>
This commit is contained in:
parent
88138b7f28
commit
27a5844dee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121464
@ -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
|
||||
|
11
accessibility/dasher/files/patch-Src_Gtk2_speech.cc
Normal file
11
accessibility/dasher/files/patch-Src_Gtk2_speech.cc
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user