wok-next diff arj/stuff/patches/custom-printf.patch @ rev 19873
cacerts: get certificates data directly from Mozilla Hg; BLFS returns empty data today
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 29 01:32:06 2017 +0300 (2017-09-29) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/arj/stuff/patches/custom-printf.patch Fri Sep 29 01:32:06 2017 +0300 1.3 @@ -0,0 +1,15 @@ 1.4 +Patch by Lubomir Rintel <lkundrak@v3.sk> for arj >= 3.10.22, which disables 1.5 +the custom printf to avoid conflicting strnlen definition with the glibc 1.6 +headers. By using custom printf (as in the past), we're completely loosing 1.7 +all the _FORTIFY_SOURCE printf protections. 1.8 + 1.9 +--- arj-3.10.22/fardata.c 2004-04-17 13:39:42.000000000 +0200 1.10 ++++ arj-3.10.22/fardata.c 2009-04-18 16:23:52.000000000 +0200 1.11 +@@ -13,7 +13,6 @@ 1.12 + /* ASR fix 02/05/2003: need that regardless of COLOR_OUTPUT to support -jp 1.13 + correctly */ 1.14 + #if SFX_LEVEL>=ARJ 1.15 +- #define CUSTOM_PRINTF 1.16 + #define CHUNK_SIZE 512 /* Size of the output block */ 1.17 + #define CHUNK_THRESHOLD (CHUNK_SIZE-256) /* Safety bound */ 1.18 + #endif