+++ /dev/null
-$NetBSD: patch-aa,v 1.3 2009/07/07 14:18:10 joerg Exp $
-
---- Makefile.orig 2005-11-01 08:40:45.000000000 -0500
-+++ Makefile
-@@ -48,6 +48,7 @@ CONFIG=configure configure.in config.sub
- FILES = Makefile README ACKNOWLEDGEMENTS COPYING $(CONFIG)
- DIST_CLEAN = config.cache config.log config.status \
- config/config config/system.mak FileList
-+DOCDIR= $(PREFIX)/share/doc/flite
-
- HOST_ONLY_DIRS = tools main
- ALL = $(BUILD_DIRS)
-@@ -105,13 +106,15 @@ tags:
-
- install:
- @echo Installing
-- mkdir -p $(INSTALLBINDIR)
-- mkdir -p $(INSTALLLIBDIR)
-- mkdir -p $(INSTALLINCDIR)
-- $(INSTALL) -m 644 include/*.h $(INSTALLINCDIR)
-- @ $(MAKE) -C lib --no-print-directory install
-- $(INSTALL) -m 755 bin/flite $(INSTALLBINDIR)
-- $(INSTALL) -m 755 bin/flite_time $(INSTALLBINDIR)
-+ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(INSTALLBINDIR)
-+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(INSTALLLIBDIR)
-+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(INSTALLINCDIR)
-+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(DOCDIR)
-+ $(BSD_INSTALL_DATA) include/*.h ${DESTDIR}$(INSTALLINCDIR)
-+ $(BSD_INSTALL_DATA) $(LIBDIR)/libflite* ${DESTDIR}$(INSTALLLIBDIR)
-+ $(BSD_INSTALL_PROGRAM) bin/flite ${DESTDIR}$(INSTALLBINDIR)
-+ $(BSD_INSTALL_PROGRAM) bin/flite_time ${DESTDIR}$(INSTALLBINDIR)
-+ $(BSD_INSTALL_DATA) README ${DESTDIR}$(DOCDIR)
-
- time-stamp :
- @ echo $(PROJECT_NAME) >.time-stamp
+++ /dev/null
-$NetBSD: patch-ab,v 1.1 2006/10/08 21:35:13 rillig Exp $
-
---- lang/cmulex/make_cmulex.orig 2005-07-11 00:28:52.000000000 +0200
-+++ lang/cmulex/make_cmulex 2006-10-08 23:33:26.000000000 +0200
-@@ -36,7 +36,7 @@
- ## ##
- ###########################################################################
-
--if [ "x$FLITEDIR" == "x" ]
-+if [ "x$FLITEDIR" = "x" ]
- then
- FLITEDIR=`pwd`/../..
- fi
+++ /dev/null
-$NetBSD: patch-ac,v 1.1 2006/10/08 21:35:13 rillig Exp $
-
---- tools/huff_table.orig 2005-01-20 18:01:53.000000000 +0100
-+++ tools/huff_table 2006-10-08 23:34:05.000000000 +0200
-@@ -62,7 +62,7 @@ export LANG
- ## 0 is reserved, 1 is reserved too
- ALPHABET_SIZE=254
-
--if [ $1 == "entries" ]
-+if [ $1 = "entries" ]
- then
- infile=$2
- outfile=$3
-@@ -74,7 +74,7 @@ then
- printf("\n");}' >huff.tmp.corpus
- fi
-
--if [ $1 == "phones" ]
-+if [ $1 = "phones" ]
- then
- infile=$2
- outfile=$3
-@@ -83,7 +83,7 @@ then
- sed 's/\\/ /g' >huff.tmp.corpus
- fi
-
--if [ $1 == "residual" ]
-+if [ $1 = "residual" ]
- then
- # This really doesn't work: just some tests to see what's worthwhile
- infile=$2
-@@ -110,7 +110,7 @@ then
- sed 's/,//g;s/};//' >huff.tmp.corpus
- fi
-
--if [ $1 == "other" ]
-+if [ $1 = "other" ]
- then
- infile=$2
- outfile=$3
-@@ -242,7 +242,7 @@ awk 'BEGIN {'"$maptable"'}
- printf("\n");
- }' > huff.tmp.corpus.uncompressed
-
--if [ $1 == "phones" ]
-+if [ $1 = "phones" ]
- then
- cat huff.tmp.corpus.best |
- sed 's/+/\\/g' |
-@@ -259,7 +259,7 @@ then
- mv huff.tmp.corpus.compressed huff.phones.compressed
- fi
-
--if [ $1 == "entries" ]
-+if [ $1 = "entries" ]
- then
- cat huff.tmp.corpus.best |
- sed 's/+//g' |
+++ /dev/null
-$NetBSD: patch-ad,v 1.1 2007/01/21 04:39:14 rillig Exp $
-
-Tags: for-upstream
-
-The standard headers must be included before the behavior gets undefined
-by the following macro definition.
-
---- tools/find_sts_main.c.orig 2005-01-01 15:04:43.000000000 +0100
-+++ tools/find_sts_main.c 2007-01-21 04:36:17.750982588 +0100
-@@ -40,6 +40,8 @@
- #include <stdio.h>
- #include <math.h>
- #include <string.h>
-+#include <stdlib.h>
-+#include <unistd.h>
-
- /* To allow some normally const fields to manipulated during building */
- #define const
+++ /dev/null
-$NetBSD: patch-ae,v 1.1 2007/07/08 18:33:38 minskim Exp $
-
---- src/audio/au_sun.c.orig Mon Jan 7 18:25:52 2002
-+++ src/audio/au_sun.c Sun Apr 20 18:12:34 2003
-@@ -45,6 +45,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <errno.h>
-+#include <sys/ioctl.h>
- #include <sys/filio.h>
- #include <sys/audioio.h>
- #include "cst_string.h"
-@@ -76,7 +77,11 @@ cst_audiodev *audio_open_sun(int sps, in
- cst_error();
- }
- }
-+#ifdef __OpenBSD__
-+ AUDIO_INITINFO(&ainfo);
-+#else
- ioctl(fd,AUDIO_GETINFO,&ainfo);
-+#endif
-
- switch (fmt)
- {
+++ /dev/null
-$NetBSD: patch-config_common__make__rules,v 1.2 2013/11/18 02:22:30 dholland Exp $
-
-Work around PR 48385, a tmpfs bug that combined with this package's
-build system causes gmake 4.0 to loop forever making depend.
-
-The problem in tmpfs, which assigns file and directory timestamps
-lazily and therefore frequently out of order, gets tickled because the
-depend file depends on the directory containing it.
-
-It is, in any event, almost never a good idea to depend on directories
-in makefiles. The workaround is to not do that and explicitly run a
-sub-make to create the object directory.
-
---- config/common_make_rules.orig 2004-12-19 22:20:43.000000000 +0000
-+++ config/common_make_rules
-@@ -188,7 +188,10 @@ ifdef ALL_DIRS
- done
- endif
-
--$(DEPEND): $(SRCS) $(OBJDIR)
-+$(DEPEND): $(SRCS)
-+ @ echo Doing implicit make depend.
-+ @ touch $(DEPEND)
-+ @ $(MAKE) $(OBJDIR)
- @ rm -f $(DEPEND)
- @ for i in $(SRCS) ; \
- do \