From d5ad0f5d0615b98b5865896be4e8c2adabe926a6 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 25 Sep 2012 14:39:13 +0200 Subject: 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 --- development/amaya/patches/gzread.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 development/amaya/patches/gzread.patch (limited to 'development/amaya/patches/gzread.patch') 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; -- cgit v1.2.3