diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2021-09-17 16:30:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-09-18 05:04:32 +0200 |
commit | e5bebb5c030e2f7ed5b114427c2993249ce30bbb (patch) | |
tree | 24c1d05a29cf7b82a4cce369f1e9b089f90a494e /package/gnupg/patches/patch-include_cipher_h | |
parent | 51e25ce5ec0e307bec8c4bd17abc7729224d16a4 (diff) |
gnupg: update to 1.4.23
Diffstat (limited to 'package/gnupg/patches/patch-include_cipher_h')
-rw-r--r-- | package/gnupg/patches/patch-include_cipher_h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gnupg/patches/patch-include_cipher_h b/package/gnupg/patches/patch-include_cipher_h new file mode 100644 index 000000000..4ce471b25 --- /dev/null +++ b/package/gnupg/patches/patch-include_cipher_h @@ -0,0 +1,11 @@ +--- gnupg-1.4.23.orig/include/cipher.h 2016-04-22 09:30:18.000000000 +0200 ++++ gnupg-1.4.23/include/cipher.h 2021-09-17 16:07:15.504427621 +0200 +@@ -117,6 +117,8 @@ typedef struct gcry_md_context *MD_HANDL + #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 |