aboutsummaryrefslogtreecommitdiff
path: root/development/amaya/patches/gzread.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-25 14:39:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-26 00:00:45 -0500
commitd5ad0f5d0615b98b5865896be4e8c2adabe926a6 (patch)
tree82d207f17211176f60421f93830e28f4c782fd33 /development/amaya/patches/gzread.patch
parent656d2dee56f21478a3b7f8b89ba1260b962bfd04 (diff)
development/amaya: Updated for version 11.4.4.
Added the foreign dictionaries, built over the system's raptor and wxPython (so added them as dependencies) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/amaya/patches/gzread.patch')
-rw-r--r--development/amaya/patches/gzread.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/development/amaya/patches/gzread.patch b/development/amaya/patches/gzread.patch
new file mode 100644
index 0000000000000..c2644dc19793a
--- /dev/null
+++ b/development/amaya/patches/gzread.patch
@@ -0,0 +1,21 @@
+--- Amaya11.4.4/Amaya/amaya/html2thot.c.old 2012-03-07 10:53:27.904494374 +0100
++++ Amaya11.4.4/Amaya/amaya/html2thot.c 2012-03-07 11:20:46.931113208 +0100
+@@ -4349,7 +4349,7 @@
+ WorkBuffer = FileBuffer;
+ }
+ // need to read a new set of characters
+- LastCharInWorkBuffer = gzread (infile, &FileBuffer[StartOfRead],
++ LastCharInWorkBuffer = gzread ((gzFile) infile, &FileBuffer[StartOfRead],
+ INPUT_FILE_BUFFER_SIZE - StartOfRead);
+ // add previous read characters not managed yet
+ LastCharInWorkBuffer += StartOfRead;
+--- Amaya11.4.4/Amaya/amaya/Xml2thot.c.old 2012-03-07 11:21:30.994445257 +0100
++++ Amaya11.4.4/Amaya/amaya/Xml2thot.c 2012-03-07 11:22:04.644444274 +0100
+@@ -5847,6 +5847,6 @@
+ while (!endOfFile && !XMLNotWellFormed && !XMLInvalidToken)
+ {
+ /* read the XML file */
+- res = gzread (infile, bufferRead, COPY_BUFFER_SIZE);
++ res = gzread ((gzFile) infile, bufferRead, COPY_BUFFER_SIZE);
+ if (res < 0)
+ return;