diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-23 15:32:30 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-23 15:32:30 +0800 |
commit | 0ea14121a8a3dae863e8623624ecb83c0de1dfed (patch) | |
tree | 4e86d44bd856634244b07f6ffc18fc38a2eb8377 /accessibility/dasher | |
parent | b11f43dede4a77e9d2ace9981d3d9c4592de3654 (diff) | |
download | marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar.gz marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar.bz2 marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar.lz marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar.xz marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.tar.zst marcuscom-ports-0ea14121a8a3dae863e8623624ecb83c0de1dfed.zip |
Fix a potential crash when quitting.
Obtained from: FreeBSD ports tree
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3699 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility/dasher')
-rw-r--r-- | accessibility/dasher/Makefile | 2 | ||||
-rw-r--r-- | accessibility/dasher/files/patch-Src_Gtk2_speech.cc | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile index d7c1b8965..43def7422 100644 --- a/accessibility/dasher/Makefile +++ b/accessibility/dasher/Makefile @@ -7,7 +7,7 @@ PORTNAME= dasher PORTVERSION= 3.2.13 -PORTREVISION= 1 +PORTREVISION= 2 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 000000000..62e4675df --- /dev/null +++ b/accessibility/dasher/files/patch-Src_Gtk2_speech.cc @@ -0,0 +1,12 @@ +--- Src/Gtk2/speech.cc.orig Wed Feb 23 02:30:15 2005 ++++ Src/Gtk2/speech.cc Wed Feb 23 02:30:44 2005 +@@ -78,7 +78,8 @@ + void teardown_speech() { + + bonobo_object_release_unref (speaker, NULL); +- CORBA_free (voices); ++ if (voices != NULL && voices->_length != 0) ++ CORBA_free (voices); + CORBA_exception_free (&ev); + + } |