summaryrefslogtreecommitdiff
path: root/audio/gnome-speech
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-11 21:24:49 +0000
committerrillig <rillig@pkgsrc.org>2005-03-11 21:24:49 +0000
commit2b5724f2918b6edfa5c3e213479707a22b6e44a9 (patch)
tree9957d04e301cc5cc9250d139c4f40cbe898a7f9a /audio/gnome-speech
parente38499fcbe12ad196d4a7720165aabe9d01138fc (diff)
downloadpkgsrc-2b5724f2918b6edfa5c3e213479707a22b6e44a9.tar.gz
Don't put statements above declarations (gcc-2.95 is not a C99
compiler). Needed for NetBSD-1.6.2. Approved by wiz.
Diffstat (limited to 'audio/gnome-speech')
-rw-r--r--audio/gnome-speech/distinfo4
-rw-r--r--audio/gnome-speech/patches/patch-aa22
2 files changed, 21 insertions, 5 deletions
diff --git a/audio/gnome-speech/distinfo b/audio/gnome-speech/distinfo
index 29fbe887f17..84537df1f3d 100644
--- a/audio/gnome-speech/distinfo
+++ b/audio/gnome-speech/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/02/26 17:25:36 jmmv Exp $
+$NetBSD: distinfo,v 1.7 2005/03/11 21:24:49 rillig Exp $
SHA1 (gnome-speech-0.3.6.tar.bz2) = 2c62e341d70aa743ec41a50dc3bfb76eb6a85dd0
RMD160 (gnome-speech-0.3.6.tar.bz2) = f932dc5560402a2a51e7a64ef69c442354758f41
Size (gnome-speech-0.3.6.tar.bz2) = 266492 bytes
-SHA1 (patch-aa) = fa584bbe19bc3db626e70b0ad35368539eb61314
+SHA1 (patch-aa) = 001b23c1aac93e17d1885353b4eb6d3d7c3db6cb
diff --git a/audio/gnome-speech/patches/patch-aa b/audio/gnome-speech/patches/patch-aa
index 090353a1254..c1d3231de88 100644
--- a/audio/gnome-speech/patches/patch-aa
+++ b/audio/gnome-speech/patches/patch-aa
@@ -1,7 +1,12 @@
-$NetBSD: patch-aa,v 1.1 2005/02/26 17:25:37 jmmv Exp $
+$NetBSD: patch-aa,v 1.2 2005/03/11 21:24:49 rillig Exp $
---- drivers/festival/festivalsynthesisdriver.c.orig 2005-01-11 13:27:34.000000000 +0100
-+++ drivers/festival/festivalsynthesisdriver.c
+Added some necessary header files.
+Don't put statements above declarations (gcc-2.95 is not a C99 compiler).
+
+Needed for NetBSD-1.6.2.
+
+--- drivers/festival/festivalsynthesisdriver.c.orig Tue Mar 8 14:10:23 2005
++++ drivers/festival/festivalsynthesisdriver.c Fri Mar 11 09:47:37 2005
@@ -25,6 +25,8 @@
*
*/
@@ -11,3 +16,14 @@ $NetBSD: patch-aa,v 1.1 2005/02/26 17:25:37 jmmv Exp $
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
+@@ -591,9 +593,9 @@ get_voice_list (void)
+ static void
+ voice_list_free (GSList *l)
+ {
+- g_assert (l);
+ GSList *tmp = l;
+
++ g_assert (l);
+ while (tmp)
+ {
+ CORBA_free (tmp->data);