wok-next view arj/stuff/patches/custom-printf.patch @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 Patch by Lubomir Rintel <lkundrak@v3.sk> for arj >= 3.10.22, which disables
2 the custom printf to avoid conflicting strnlen definition with the glibc
3 headers. By using custom printf (as in the past), we're completely loosing
4 all the _FORTIFY_SOURCE printf protections.
6 --- arj-3.10.22/fardata.c 2004-04-17 13:39:42.000000000 +0200
7 +++ arj-3.10.22/fardata.c 2009-04-18 16:23:52.000000000 +0200
8 @@ -13,7 +13,6 @@
9 /* ASR fix 02/05/2003: need that regardless of COLOR_OUTPUT to support -jp
10 correctly */
11 #if SFX_LEVEL>=ARJ
12 - #define CUSTOM_PRINTF
13 #define CHUNK_SIZE 512 /* Size of the output block */
14 #define CHUNK_THRESHOLD (CHUNK_SIZE-256) /* Safety bound */
15 #endif