diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:38:06 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:38:06 +0000 |
commit | 1565bc4ca99906c093e3980a5b97f6acd084a567 (patch) | |
tree | a2ef4d4a749ed26aba09c772486fa17b6887c279 /app-accessibility/SphinxTrain/files | |
parent | revert unintended removal. (diff) | |
download | gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.tar.gz gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.tar.bz2 gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.zip |
revert unintended removal.
Diffstat (limited to 'app-accessibility/SphinxTrain/files')
-rw-r--r-- | app-accessibility/SphinxTrain/files/gcc.patch | 34 | ||||
-rw-r--r-- | app-accessibility/SphinxTrain/files/gcc34.patch | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-accessibility/SphinxTrain/files/gcc.patch b/app-accessibility/SphinxTrain/files/gcc.patch new file mode 100644 index 000000000000..e3c51275f910 --- /dev/null +++ b/app-accessibility/SphinxTrain/files/gcc.patch @@ -0,0 +1,34 @@ +--- src/programs/count_3phone/wrec.h.orig 2003-09-28 18:51:49.000000000 +0900 ++++ src/programs/count_3phone/wrec.h 2003-09-28 18:52:23.000000000 +0900 +@@ -44,7 +44,7 @@ + #define WREC_H + + #include "phrec.h" +-#include <varargs.h> ++#include <stdarg.h> + + int quit (int status, char *fmt, ...); + +--- src/programs/count_3phone/quit.c.orig 2003-09-28 19:12:56.000000000 +0900 ++++ src/programs/count_3phone/quit.c 2003-09-28 19:13:12.000000000 +0900 +@@ -74,17 +74,14 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <varargs.h> ++#include <stdarg.h> + +-int quit (status,fmt,va_alist) +- int status; +- char *fmt; +- va_dcl ++int quit (int status,char *fmt,...) + { + va_list args; + + fflush(stdout); +- va_start(args); ++ va_start(args, fmt); + (void) vfprintf(stderr, fmt, args); + va_end(args); + exit(status); diff --git a/app-accessibility/SphinxTrain/files/gcc34.patch b/app-accessibility/SphinxTrain/files/gcc34.patch new file mode 100644 index 000000000000..124aa993edc9 --- /dev/null +++ b/app-accessibility/SphinxTrain/files/gcc34.patch @@ -0,0 +1,11 @@ +--- SphinxTrain/src/programs/count_3phone/phone_word_io.c~ 2001-04-05 16:00:33.000000000 -0400 ++++ SphinxTrain/src/programs/count_3phone/phone_word_io.c 2005-05-01 12:48:42.000000000 -0400 +@@ -71,7 +71,7 @@ + #ifdef __alpha + void *malloc(); + #else +-char *malloc(); ++//char *malloc(); + #endif + + extern int Num_Phones, Num_Words; |