X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/1afcecfcacca152166906e0f14fd56cd8357adc6..851c6a8fb85721a2a34955588e7dd9b45b6ca802:/packages/leptonica/silence-tmpfile-warnings.patch diff --git a/packages/leptonica/silence-tmpfile-warnings.patch b/packages/leptonica/silence-tmpfile-warnings.patch index ae991cc6..a84e09e0 100644 --- a/packages/leptonica/silence-tmpfile-warnings.patch +++ b/packages/leptonica/silence-tmpfile-warnings.patch @@ -1,14 +1,3 @@ -diff -u -r ../leptonica-1.74.1/src/bmpio.c ./src/bmpio.c ---- ../leptonica-1.74.1/src/bmpio.c 2016-12-02 20:42:42.000000000 +0100 -+++ ./src/bmpio.c 2017-01-29 22:11:16.268072245 +0100 -@@ -645,7 +645,6 @@ - return ERROR_INT("stream not opened", procName, 1); - ret = pixWriteStreamBmp(fp, pix); - #else -- L_INFO("work-around: writing to a temp file\n", procName); - #ifdef _WIN32 - if ((fp = fopenWriteWinTempfile()) == NULL) - return ERROR_INT("tmpfile stream not opened", procName, 1); diff -u -r ../leptonica-1.74.1/src/boxbasic.c ./src/boxbasic.c --- ../leptonica-1.74.1/src/boxbasic.c 2016-12-02 20:42:49.000000000 +0100 +++ ./src/boxbasic.c 2017-01-29 22:11:16.276072146 +0100 @@ -148,17 +137,6 @@ diff -u -r ../leptonica-1.74.1/src/pixcomp.c ./src/pixcomp.c #ifdef _WIN32 if ((fp = fopenWriteWinTempfile()) == NULL) return ERROR_INT("tmpfile stream not opened", procName, 1); -diff -u -r ../leptonica-1.74.1/src/pngio.c ./src/pngio.c ---- ../leptonica-1.74.1/src/pngio.c 2016-12-02 20:43:37.000000000 +0100 -+++ ./src/pngio.c 2017-01-29 22:11:16.508069269 +0100 -@@ -1344,7 +1344,6 @@ - return ERROR_INT("stream not opened", procName, 1); - ret = pixWriteStreamPng(fp, pix, gamma); - #else -- L_INFO("work-around: writing to a temp file\n", procName); - #ifdef _WIN32 - if ((fp = fopenWriteWinTempfile()) == NULL) - return ERROR_INT("tmpfile stream not opened", procName, 1); diff -u -r ../leptonica-1.74.1/src/pnmio.c ./src/pnmio.c --- ../leptonica-1.74.1/src/pnmio.c 2016-12-27 19:30:34.000000000 +0100 +++ ./src/pnmio.c 2017-01-29 22:11:16.512069219 +0100 @@ -197,25 +175,6 @@ diff -u -r ../leptonica-1.74.1/src/ptabasic.c ./src/ptabasic.c #ifdef _WIN32 if ((fp = fopenWriteWinTempfile()) == NULL) return ERROR_INT("tmpfile stream not opened", procName, 1); -diff -u -r ../leptonica-1.74.1/src/recogbasic.c ./src/recogbasic.c ---- ../leptonica-1.74.1/src/recogbasic.c 2016-12-02 20:43:53.000000000 +0100 -+++ ./src/recogbasic.c 2017-01-29 22:11:16.532068971 +0100 -@@ -1306,7 +1306,6 @@ - return ERROR_INT("stream not opened", procName, 1); - ret = recogaWriteStream(fp, recoga); - #else -- L_INFO("work-around: writing to a temp file\n", procName); - #ifdef _WIN32 - if ((fp = fopenWriteWinTempfile()) == NULL) - return ERROR_INT("tmpfile stream not opened", procName, 1); -@@ -1608,7 +1607,6 @@ - return ERROR_INT("stream not opened", procName, 1); - ret = recogWriteStream(fp, recog); - #else -- L_INFO("work-around: writing to a temp file\n", procName); - #ifdef _WIN32 - if ((fp = fopenWriteWinTempfile()) == NULL) - return ERROR_INT("tmpfile stream not opened", procName, 1); diff -u -r ../leptonica-1.74.1/src/sarray1.c ./src/sarray1.c --- ../leptonica-1.74.1/src/sarray1.c 2016-12-21 21:11:34.000000000 +0100 +++ ./src/sarray1.c 2017-01-29 22:11:16.552068723 +0100