From aa22226c68e13154dd2e35beb1592176faf91c86 Mon Sep 17 00:00:00 2001 From: Jan Sturm Date: Fri, 22 May 2020 16:16:07 +0200 Subject: [PATCH] porting to GCC 10 --- advcpmv-0.8-8.31.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/advcpmv-0.8-8.31.patch b/advcpmv-0.8-8.31.patch index a0c146a..1e29fd6 100644 --- a/advcpmv-0.8-8.31.patch +++ b/advcpmv-0.8-8.31.patch @@ -345,12 +345,12 @@ index 7d2303c54..d2bb8b02c 100644 +/* BEGIN OF PROGRESS MOD */ +int file_size_format ( char * _cDst, long _lSize, int _iCounter ); + -+long g_iTotalSize; -+long g_iTotalWritten; -+int g_iFilesCopied; -+struct timeval g_oStartTime; -+int g_iTotalFiles; -+bool progress; ++__attribute__((__common__)) long g_iTotalSize; ++__attribute__((__common__)) long g_iTotalWritten; ++__attribute__((__common__)) int g_iFilesCopied; ++__attribute__((__common__)) struct timeval g_oStartTime; ++__attribute__((__common__)) int g_iTotalFiles; ++__attribute__((__common__)) bool progress; +/* END OF PROGRESS MOD */ + #endif