diff options
Diffstat (limited to 'recipes/flite/flite-1.2/fix-read-only-assignments.patch')
-rw-r--r-- | recipes/flite/flite-1.2/fix-read-only-assignments.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/flite/flite-1.2/fix-read-only-assignments.patch b/recipes/flite/flite-1.2/fix-read-only-assignments.patch new file mode 100644 index 0000000000..ec241c51f5 --- /dev/null +++ b/recipes/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; + |