wok-next
annotate arj/stuff/patches/custom-printf.patch @ rev 19715
Fix building: pciutils, pcmanfm-legacy, arj
author |
Aleksej Bobylev <al.bobylev@gmail.com> |
date |
Sat May 13 17:25:31 2017 +0300 (2017-05-13) |
parents |
|
children |
|
rev |
line source |
al@19715
|
1 Patch by Lubomir Rintel <lkundrak@v3.sk> for arj >= 3.10.22, which disables
|
al@19715
|
2 the custom printf to avoid conflicting strnlen definition with the glibc
|
al@19715
|
3 headers. By using custom printf (as in the past), we're completely loosing
|
al@19715
|
4 all the _FORTIFY_SOURCE printf protections.
|
al@19715
|
5
|
al@19715
|
6 --- arj-3.10.22/fardata.c 2004-04-17 13:39:42.000000000 +0200
|
al@19715
|
7 +++ arj-3.10.22/fardata.c 2009-04-18 16:23:52.000000000 +0200
|
al@19715
|
8 @@ -13,7 +13,6 @@
|
al@19715
|
9 /* ASR fix 02/05/2003: need that regardless of COLOR_OUTPUT to support -jp
|
al@19715
|
10 correctly */
|
al@19715
|
11 #if SFX_LEVEL>=ARJ
|
al@19715
|
12 - #define CUSTOM_PRINTF
|
al@19715
|
13 #define CHUNK_SIZE 512 /* Size of the output block */
|
al@19715
|
14 #define CHUNK_THRESHOLD (CHUNK_SIZE-256) /* Safety bound */
|
al@19715
|
15 #endif
|