summaryrefslogtreecommitdiff
path: root/audio/gnome-speech/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-10 13:49:41 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-10 13:49:41 +0000
commit849db16498b1e508e5cea511aea064a3fd21a414 (patch)
tree6551abdae28881d32bfcb1b277ec8f9672ba77a5 /audio/gnome-speech/patches
parent9d0519b1a6b4a42774f10f930cb6c8362278663a (diff)
downloadpkgsrc-849db16498b1e508e5cea511aea064a3fd21a414.tar.gz
Reorder includes to workaround a bug in sys/socket.h on DragonFly.
Diffstat (limited to 'audio/gnome-speech/patches')
-rw-r--r--audio/gnome-speech/patches/patch-aa11
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/gnome-speech/patches/patch-aa b/audio/gnome-speech/patches/patch-aa
index c1d3231de88..cc9fbda8627 100644
--- a/audio/gnome-speech/patches/patch-aa
+++ b/audio/gnome-speech/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2005/03/11 21:24:49 rillig Exp $
+$NetBSD: patch-aa,v 1.3 2005/10/10 13:49:41 joerg Exp $
Added some necessary header files.
Don't put statements above declarations (gcc-2.95 is not a C99 compiler).
@@ -7,15 +7,18 @@ 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 @@
+@@ -25,8 +25,10 @@
*
*/
+-#include <string.h>
+ #include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
- #include <string.h>
- #include <sys/types.h>
++#include <string.h>
#include <sys/wait.h>
+ #include <signal.h>
+ #include <unistd.h>
@@ -591,9 +593,9 @@ get_voice_list (void)
static void
voice_list_free (GSList *l)