Package: speech-dispatcher
Severity: important
Tags: patch

Hi,

oss.c produces a lot of warnings when compiled:

oss.c:83: warning: incompatible implicit declaration of built-in function 'strdu
...
oss.c:190: warning: incompatible implicit declaration of built-in function 'mall
...

just because

#include <string.h>

is missing. As a result, speech-dispatcher _can't_ work on 64bit
architectures. Please apply attached patch.

Regards,
Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Index: src/audio/oss.c
===================================================================
RCS file: /var/lib/cvs/speechd/src/audio/oss.c,v
retrieving revision 1.10
diff -u -r1.10 oss.c
--- src/audio/oss.c     8 Jan 2006 13:36:56 -0000       1.10
+++ src/audio/oss.c     9 Mar 2006 22:36:30 -0000
@@ -24,6 +24,7 @@
 
 #include <sys/time.h>
 #include <time.h>
+#include <string.h>
 
 int _oss_open(AudioID *id);
 int _oss_close(AudioID *id);

Reply via email to