aboutsummaryrefslogtreecommitdiffstats
path: root/flite/flite-1.2/fix-read-only-assignments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'flite/flite-1.2/fix-read-only-assignments.patch')
-rw-r--r--flite/flite-1.2/fix-read-only-assignments.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/flite/flite-1.2/fix-read-only-assignments.patch b/flite/flite-1.2/fix-read-only-assignments.patch
index e69de29bb2..ec241c51f5 100644
--- a/flite/flite-1.2/fix-read-only-assignments.patch
+++ b/flite/flite-1.2/fix-read-only-assignments.patch
@@ -0,0 +1,16 @@
+diff -urN flite-1.2-release.orig/include/cst_sts.h flite-1.2-release/include/cst_sts.h
+--- flite-1.2-release.orig/include/cst_sts.h 2002-12-23 16:55:05.000000000 +0100
++++ flite-1.2-release/include/cst_sts.h 2004-10-04 21:10:22.000000000 +0200
+@@ -47,9 +47,9 @@
+ /* else where, this information plus the indexes in the Unit relation */
+ /* allow reconstruction of the signal itself */
+ struct cst_sts_struct {
+- const unsigned short *frame;
+- const int size; /* in samples */
+- const unsigned char *residual;
++ unsigned short *frame;
++ int size; /* in samples */
++ unsigned char *residual;
+ };
+ typedef struct cst_sts_struct cst_sts;
+