Borrowed from Debian https://sources.debian.org/src/gnupg1/1.4.23-1.1/debian/patches/0006-fix-for-gcc10.patch/ Subject: Fix build with gcc-10 Author: Christoph Biedl Date: 2021-01-04 Bug: https://dev.gnupg.org/T5215 Bug-Debian: https://bugs.debian.org/957293 --- a/g10/options.h +++ b/g10/options.h @@ -29,6 +29,8 @@ /* Norcraft can't cope with common symbols */ #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) #define EXTERN_UNLESS_MAIN_MODULE extern +#elif defined (__GNUC__) && __GNUC__ >= 10 +#define EXTERN_UNLESS_MAIN_MODULE __attribute__((__common__)) #else #define EXTERN_UNLESS_MAIN_MODULE #endif --- a/include/cipher.h +++ b/include/cipher.h @@ -117,6 +117,8 @@ #ifndef EXTERN_UNLESS_MAIN_MODULE #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) #define EXTERN_UNLESS_MAIN_MODULE extern +#elif defined (__GNUC__) && __GNUC__ >= 10 +#define EXTERN_UNLESS_MAIN_MODULE __attribute__((__common__)) #else #define EXTERN_UNLESS_MAIN_MODULE #endif --- a/include/iobuf.h +++ b/include/iobuf.h @@ -72,6 +72,8 @@ #ifndef EXTERN_UNLESS_MAIN_MODULE #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) #define EXTERN_UNLESS_MAIN_MODULE extern +#elif defined (__GNUC__) && __GNUC__ >= 10 +#define EXTERN_UNLESS_MAIN_MODULE __attribute__((__common__)) #else #define EXTERN_UNLESS_MAIN_MODULE #endif --- a/include/memory.h +++ b/include/memory.h @@ -93,6 +93,8 @@ #ifndef EXTERN_UNLESS_MAIN_MODULE #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) #define EXTERN_UNLESS_MAIN_MODULE extern +#elif defined (__GNUC__) && __GNUC__ >= 10 +#define EXTERN_UNLESS_MAIN_MODULE __attribute__((__common__)) #else #define EXTERN_UNLESS_MAIN_MODULE #endif --- a/include/mpi.h +++ b/include/mpi.h @@ -38,6 +38,8 @@ #ifndef EXTERN_UNLESS_MAIN_MODULE #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) #define EXTERN_UNLESS_MAIN_MODULE extern +#elif defined (__GNUC__) && __GNUC__ >= 10 +#define EXTERN_UNLESS_MAIN_MODULE __attribute__((__common__)) #else #define EXTERN_UNLESS_MAIN_MODULE #endif d5d64787beb9256'>root/gnu/packages/antivirus.scm
AgeCommit message (Expand)Author
2020-10-03gnu: clamav: Update to 0.103.0....* gnu/packages/antivirus.scm (clamav): Update to 0.103.0. * gnu/packages/patches/clamav-system-tomsfastmath.patch: Update patch. Tobias Geerinckx-Rice
2020-07-19gnu: clamav: Update to 0.102.4....* gnu/packages/antivirus.scm (clamav): Update to 0.102.4. Tobias Geerinckx-Rice
2020-05-15gnu: clamav: End snippet in truth....* gnu/packages/antivirus.scm (clamav)[source]: Return #t from snippet. Tobias Geerinckx-Rice
2020-05-15gnu: clamav: Update to 0.102.3....* gnu/packages/antivirus.scm (clamav): Update to 0.102.3. Tobias Geerinckx-Rice
2020-02-10gnu: clamav: Update to 0.102.2....* gnu/packages/antivirus.scm (clamav): Update to 0.102.2. [native-inputs]: Use latest check package. Eric Bavier
2020-02-10gnu: check: Use check@0.12....Tests fail to compile with check@0.13. * gnu/packages/check.scm (clamav)[native-inputs]: 'check' -> 'check-0.12'. Eric Bavier