package/gnupg: fix build with gcc 10
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 May 2020 21:27:54 +0000 (23:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 28 May 2020 20:17:18 +0000 (22:17 +0200)
commit75e82c42c6a4612c7385a32dcb82ca9cb5d866bd
tree775d2b83899471f4bf0462d1f7f94ef8fa6223d7
parenta96277a93d36a1828de87b011022ae389a549cbd
package/gnupg: fix build with gcc 10

This commit backports an upstream patch made for gnupg2 into gnupg, in
order to fix build failures with gcc 10 due to the use of
-fno-common. Due to the code differences between upstream gnupg2 and
the old gnupg 1.x, the backport is in fact more a rewrite than an
actual backport.

Fixes:

  http://autobuild.buildroot.net/results/496a18833505dc589f7ae58f2c7e5fe80fe9af79/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch [new file with mode: 0644]