summaryrefslogtreecommitdiff
path: root/packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch')
-rw-r--r--packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch b/packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch
new file mode 100644
index 0000000000..da8c88370f
--- /dev/null
+++ b/packages/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch
@@ -0,0 +1,15 @@
+--- flite-1.3-release/include/cst_sts.h.old 2008-01-05 10:09:35.000000000 -0600
++++ flite-1.3-release/include/cst_sts.h 2008-01-05 10:08:38.000000000 -0600
+@@ -45,9 +45,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;
+