summaryrefslogtreecommitdiff
path: root/audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c')
-rw-r--r--audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c b/audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c
new file mode 100644
index 00000000000..ecd9d72d8c7
--- /dev/null
+++ b/audio/gnome-speech/patches/patch-drivers_swift_swiftspeaker_c
@@ -0,0 +1,16 @@
+$NetBSD: patch-drivers_swift_swiftspeaker_c,v 1.1 2012/05/06 19:49:37 dholland Exp $
+
+Fix build with latest glib2.
+
+--- drivers/swift/swiftspeaker.c~ 2008-12-10 13:36:00.000000000 +0000
++++ drivers/swift/swiftspeaker.c
+@@ -28,8 +28,7 @@
+ #include <math.h>
+ #include <unistd.h>
+ #include <libbonobo.h>
+-#include <glib/gmain.h>
+-#include <glib/gthread.h>
++#include <glib.h>
+ #include <gnome-speech/gnome-speech.h>
+ #include <swift.h>
+ #include "swiftspeaker.h"